XP Samba Woes

|

I just pulled some hair out trying to access shared XP volumes from OS X, but eventually got it working. Here is what I learned about it, as much for my own future reference as anything:

If you use smbclient and get

  NT_STATUS_LOGON_FAILED

then you have a bad username or some connection problem. However, if you get

  NT_STATUS_LOGON_TYPE_NOT_GRANTED 

it means that you are connecting and logging in with the right username/password, but that something on the xp side needs to be tweaked. You need to open "Local Security Settings" which is buried in the Administrative Tools control panel. The fastest way to open it is to just

  Run... secpol.msc 

There seemed to be two changes I had to make. First,

  Security Options - Network Access: Sharing and Security for local accounts

was set to 'Guest Only - local users authenticate as guest'. It needed to be changed to 'Classic - local users authenticate as themselves.' Secondly,

  User Rights Assignment - Access this computer from the network

Needs to include the user you're trying to login as. This was blank in my settings.

Also, I had some problems with the share names. Windows likes to append a '$' to the default share names, but the OS X Connect to... GUI doesn't want to deal with them. (the command line smbclient seems ok with them). I think you're best of removing all of the shares you might have, turning off sharing for each XP volume, then going back and creating new shares named without the '$'.

About

My name is Patrick Calahan.

I live in San Francisco.

I do product development and consulting on Java and Business Intelligence.

This is my blog.

Contact

About this Entry

This page contains a single entry by published on October 10, 2004 2:14 PM.

Diarios de Motocicleta was the previous entry in this blog.

Blood Brothers is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.01