[Samba] Resolving NetBIOS names within linux
teodarren at myrealbox.com
Fri Oct 18 17:02:31 GMT 2002
I would like to do the same (resolve win_pc names in linux) too.
However, all my Win2k machines are simple just PCs in the same workgroup
What do I fill in as the WINS server?
From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]
On Behalf Of John H Terpstra
Sent: Friday, October 18, 2002 6:32 AM
To: Bert Rapp
Subject: Re: [Samba] Resolving NetBIOS names within linux
On Thu, 17 Oct 2002, Bert Rapp wrote:
> I want to be able to resolve windows machine names to their IP
> while using Linux. What I'd like to be able to do, from my linux box
> the command line is this,
> ping windows_machine_name
> Is there any way I can do this?
If you are using the samba-team RPM package for your linux system, then
know you have libnss_wins.so in /lib.
So long as this library exists on your system:
1. Configure /etc/samba/smb.conf globals section
If your samba server is the WINS server you will have:
wins support = Yes
If your samba server is a WINS client then you will have:
wins server = x.x.x.x, where x.x.x.x is the WINS server
2. Edit your /etc/nsswitch.conf file so it has:
hosts: files dns wins
3. Try it:
- John T.
John H Terpstra
Email: jht at samba.org
To unsubscribe from this list go to the following URL and read the
More information about the samba