WINS resolution with Samba 2.2.2

Ariel Mella samba at nebula-sa.com.ar
Thu Dec 6 04:38:02 GMT 2001


do youhave the wins library installed on your system??
check the source of your samba and install the libraries if you dont have.

----- Original Message -----
From: "Dragos" <dragos.delcea at farmexim.ro>
To: "Joel Hammer" <Joel at HammersHome.com>; "Ariel Mella"
<samba at nebula-sa.com.ar>; <samba at lists.samba.org>
Sent: Thursday, December 06, 2001 8:51 AM
Subject: Re: WINS resolution with Samba 2.2.2


> On Thursday 06 December 2001 02:23 am, Joel Hammer wrote:
> > Hmmm....
> > So is seems that /etc/host.conf has no effect.
> > What do you need to put into nsswitch.conf to make it use wins?
> > I tried hosts:     wins on my wins server but it didn't work when I
tried
> > to ping a known netbios name.
> > Joel
> >
> ...
> hello Joel,
> /etc/host.conf is for old (libc5) applications; the new config file is
> /etc/nsswitch.conf
> now, put in it
> hosts files wins
>
> Go to samba source directory
> /quote
> This extension provides a "wins" module for NSS on glibc2/Linux.  This
> allows you to use a WINS entry in /etc/nsswitch.conf for hostname
> resolution, allowing you to resolve netbios names via start unix
> gethostbyname() calls. The end result is that you can use netbios
> names as host names in unix apps.
>
> 1) run configure
> 2) run "make nsswitch"
> 3) cp nsswitch/libnss_wins.so /lib/libnss_wins.so.2
> 4) add a wins entry to the hosts line in /etc/nsswitch.conf
> 5) use it
> quote/
> I did it (there's a catch to it, it's something like 'make
> nsswitch/libnss_wins.so', or about here)
> It's working here, with the mention that (I think) you must have a valid
> smb.conf with the wins = xxx.xxx.xxx.xxx entry ;
>
> cheers, dragos
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>





More information about the samba mailing list