[Samba] Simple LDAP backend question

John Drescher drescherjm at gmail.com
Thu Jan 3 18:57:06 GMT 2008


> John Drescher wrote:
> >> Is it required to use LDAP for both POSIX/UNIX accounts and for Samba,
> >> or can one move only the smbpasswd file to LDAP without impacting the
> >> standard UNIX passwd file at all?
> >> - --
> > With ldap you have both the users that are in the ldap server + the
> > /etc/passwd file.
>
> So then, do you get POSIX and Samba accounts in the LDAP, and then the
> /etc/passwd is also used?
>
Yes. Both are specified in the nsswitch and both are used.

>
> What I really want is to move smbpasswd users to LDAP, but we have
> process that interact with /etc/passwd, but I would like LDAP to be only
> used by Samba. I suppose if nsswitch did not say to use LDAP, ssh/etc.
> would not check LDAP for user logins?
>
I have never tried that so I am not sure.

John


More information about the samba mailing list