Samba user authentication

David Bandel david.bandel
Mon Jul 2 09:37:21 PDT 2007


On 7/2/07, Bill Campbell <linux-sxs at celestial.com> wrote:
> 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.
>

And what did you expect?  It's windoze lusers that use samba!

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto



More information about the Linux-users mailing list