I've been having a lot of trouble trying to get my OS X laptop talking to windows xp shares (file and printer) at home. It works just fine talking to xp at work and my samba share, but could not authorize to my windows machine. I finally tried using smbclient, and saw an error message that I was able to use to find relevant google hits.


> smbclient -U me //myhost/myshare
session setup failed: NT_STATUS_LOGON_TYPE_NOT_GRANTED


I found the solution on this guys blog - to summarize:


Open Control Panel -> Administrative Tools -> "Local Security Settings"


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.'


User Rights Assignment - Access this computer from the network
Needs to include the user you're trying to login as.