[Samba] NetBIOS name resolution from Linux
John H Terpstra
jht at samba.org
Sat May 17 13:26:39 GMT 2008
On Saturday 17 May 2008 07:44:36 am Olivier Parisy wrote:
> John H Terpstra a écrit :
> > I am a little lost at to what the problem is here. WINS does not require
> > winbindd to be running. On the Linux system it requires:
> >
> > 1) In your /etc/nsswitch.conf file:
> > ...
> > hosts: files wins [NOTFOUND=return] dns
> > ...
> >
> > 2) Install the samba file libnss_wins.so.2 in the /lib directory (or on
> > 64-bit systems in the /lib64 directory)
> >
> > 3) Run nmbd
> >
> >
> > That's it! What is so difficult? What makes this so complicated? If
> > you do not need DNS, then don't even run it (or else just run a caching
> > DNS server).
> >
> > Winbind is orthogonal to wins. They serve entirely differing purposes.
>
> Ah, thank you! That is exactly what I expected. I am pleased to read
> that winbind and wins are different beasts, as I have no interest in the
> former.
>
> The point is that, under Debian, the /lib/libnss_wins.so.2 file is
> distributed only in the winbind package, as confirmed by this search:
> http://packages.debian.org/search?searchon=contents&keywords=libnss_wins&mo
>de=filename&suite=stable&arch=any
>
> So it seems like this is a packaging issue, and not a samba one per se.
No. Not a packaging issue. winbind and wins NSS files are built out of the
same code tree. It is a good idea to keep them together - just use what you
need and ignore the rest.
- John T.
More information about the samba
mailing list