[Samba] Why would nsswitch.conf be needed at all ?

Adam Tauno Williams adam at morrison-ind.com
Thu Jan 20 15:42:57 GMT 2005

> I have setup a samba server as a domain member to share print queues.
> As I'm doing print quotas, I need the users to be authenticated properly.
> The setup works except that it appears that I need to add winbind to my nsswitch.conf.
> This is kind of upsetting as I don't see a reason why I have to share windows users' namespace with my linux users base (mainly root and system users btw).
> As far as samba is concerned, it creates uid/gid mappings on the fly. Why would it absolutely need the system to be able to resolve username/uids ?

windbind does this exactly in order to be able to provide such
information via NSS.  Samba is a UNIX process, it needs to know about
the users.

> Maybe I missed something ?

More information about the samba mailing list