Samba user authentication

Bill Campbell linux-sxs
Mon Jul 2 08:57:55 PDT 2007


On Mon, Jul 02, 2007, David Bandel wrote:
>On 7/1/07, Collins Richey <crichey at gmail.com> wrote:
>> What we do on our RH3/4 systems (a little different that your needs):
>>
>> 1. Setup samba.conf with linux userid as share name and directry for
>> share /home/<userid>
>>
>> 2. Logged in on Linux as root
>>
>> smbpasswd -a <userid>
>>
>> 3. On windows system (WinXP), from an explorer window, select Tools ->
>> Map Network Drive
>>
>> 4. Pick a letter
>>
>> 5. Check 'reconnect at boot'
>>
>> 6. Click on 'use a different id'
>>
>> 7. enter the Linux <userid> and the password created by smbpasswd
>>
>> Number 6 above is critical, since Windows defaults to using the Windows <usrid>.
>>
>
>Thanx.  That did it.  Just seems counterintuitive to have to use
>smbpasswd when what I wanted was for samba to use pam and the normal
>login files.

Using Windows is counterintuitive!

It isn't Samba that has problems here, but Windows.  While there
were ways to use pure Samba/Unix authentication that worked
reasonably well with earlier versions of Windows which requires
some registry hacks, the use has been deprecated for years.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``Whenever you find yourself on the side of the majority it is time to
pause and reflect.''
               -- Mark Twain   



More information about the Linux-users mailing list