/etc/passwd and smbpasswd
ctresco at economics.mit.edu
Tue Apr 17 01:38:17 GMT 2001
I am using the smb-HEAD release.
Thanks for the input, that is exactly what I needed to hear. I am using RH
7.0 that does support nss_ldap.
Thanks a ton,
----- Original Message -----
From: "Adam Tauno Williams" <awilliam at whitemice.org>
To: <samba-ntdom at lists.samba.org>
Sent: Monday, April 16, 2001 7:23 PM
Subject: Re: /etc/passwd and smbpasswd
> >Is it necessary to have all users in the /etc/passwd file for them to be
> >able to use samba or do you just need them to be there in order to use
> >smbpasswd utility?
> >Basically, I am trying to get everything done via ldap and I don't want a
> >bunch of users in /etc/passwd. I am working through the howto for smb
> >ldap and it seems awfully redundant to have users in both places. What
> >would the point of having an ldap db full of samba users when they are
> >listed in /etc/passwd. May as well just use an smbpasswd file.....
> You do NOT need users listed in /etc/passwd, they simply have to be
"resolvable". If you setup nss_ldap then Samba will work fine (with users
in smbpasswd and LDAP, not passwd). Of course I'm assuming you are on a
platform that supports NSS. See /etc/nsswitch.conf. Samba 2.2.0 does not
More information about the samba-ntdom