[Samba] windows XP authentication issues

Iain Dooley mail at iaindooley.com
Sun Aug 1 07:27:27 GMT 2004


dear walter,

thanks for your help!

> <sorry have to use e-mail because I am not subscribed to that mailing
> list>
i have cc'd the lists in this reply so that others may see the solution

>> hello list,
>>
>> i am running Samba on FreeBSD 5.2.1-RELEASE. i am able to mount network
>> folders using sharity-light from one of my other freebsd boxes 'piper'
>> on
>> the network with the command:
>>
> ..
>> i then created the user 'sasha' on an XP box on the same network, with
>> the
>> same password as the user account on 'cessna' and logged into windows
>> using that user. the following occurs:
>>
>> 1) when i right click on My Computer and select Map Network Drive, and
>> then enter the share '\\10.0.1.30\videos' (10.0.1.30 is the internal IP
>> Address of the machine 'cessna' running the Samba server) i get the
>> login
>> dialog, however the username is Guest, (rather than sasha as i would
>> have
>> expected).
>>
>> 2) when i select to login with a different user name, and enter
>> '10.0.1.30\sasha', and the appropriate password, it comes up with the
>> login dialog but the password that is valid on the machine 'cessna' (as
>> i
>> have tested it with sharity-light from 'piper') does not authenticate
>> and
>> it defaults back to the user 10.0.1.30\Guest
>>
> Well, you will also have to
> - set "security = user" (instead of SHARE) in your smb.conf to make user
> authentication work that way
> - issue a "smbpasswd -a sasha" and supply the password (twice to the
> dialog).
> ....

great, i did that but there was still an error. after a little searching i
found that i also have to add the line:

encrypt passwords = yes

to the globals section of my smb.conf file. then it all worked fine!

Cheers,

Iain
+61 (0) 428 151 280
http://www.iaindooley.com



More information about the samba mailing list