[COLUG] Re: Lan hostname to IP resolution

Rob Funk rfunk at funknet.net
Mon Feb 25 07:48:10 EST 2008


Jeffrey Tadlock wrote:
> On Sun, Feb 24, 2008 at 6:19 PM, Rob Funk <rfunk at funknet.net> wrote:
> >  It's possible to install a "winbind" library that can be enabled
> >  in /etc/nsswitch.conf so that a hostname lookup includes the Windows
> >  network in its search.
>
> I thought winbind just allowed you to query a Windows server/domain
> for users and groups for validation?  When editing nsswitch.conf to
> make use of winbind it is generally for the passwd portion.
>
> Using Netbios for name resolution is handled by Samba and the default
> smb.conf setting of:
>
> name resolve order = lmhosts hosts wins bcast
>
> The last option being the broadcast which allows the Linux box to
> broadcast in order to find the chatty Windows host by name.

At least in Debian/Ubuntu, the winbind package includes the library 
(libnss_wins.so) for adding "wins" to the hosts line in nsswitch.conf.

-- 
==============================|   "A microscope locked in on one point
 Rob Funk <rfunk at funknet.net> |Never sees what kind of room that it's in"
 http://www.funknet.net/rfunk |    -- Chris Mars, "Stuck in Rewind"


More information about the colug432 mailing list