[Samba] Re: Using Winbindd in nsswitch.conf

Chris de Vidal cdevidal at yahoo.com
Tue Jan 28 22:49:37 GMT 2003

--- Jonathan Johnson <jon at sutinen.com> wrote:
> I've a question regarding using WINS for resolving
> names while on the unix
> box. As I understand it, you're supposed to add
> something to the
> /etc/nsswitch.conf file, but it's not clear to me
> whether it's supposed to
> be 'wins', 'winbind', or 'winbindd' as in the
> following example:
> hosts:      files wins nisplus nis dns
> hosts:      files winbind nisplus nis dns
> hosts:      files winbindd nisplus nis dns
> Which is correct? (I'm not using nis, so I guess
> those could be removed but
> they aren't hurting anything by being there.)

winbind; nisplus and nis can indeed be removed if not

> I believe I have the windbind options in smb.conf
> configured correctly, and
> winbindd is starting automatically. In my situation,
> the Samba server is
> also acting as a WINS server.

Sometimes there is no link called
created, which links to
so you might need to create one.

Also, make sure winbind is started
ps ax | grep winbind
and run
getent passwd
You should see your usernames.


Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

More information about the samba mailing list