[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
used.

> 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
/lib/libnss_winbind.so.2
created, which links to
/lib/libnss_winbind.so
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.


/dev/idal

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


More information about the samba mailing list