[Samba] nss_wins

John H Terpstra jht at samba.org
Tue Jan 7 05:41:01 GMT 2003


On Mon, 6 Jan 2003, Joseph Loo wrote:

> Is there a way to use nss_wins to get the hosts of the windows domain
> without joining the domain? I do have a login into the network but the
> company I am with is a bit sticky about allowing a linux machine to join
> the network.
>
> If it is possible, is there some kind of how to to do it and what I need
> to configure to make it work? Does it require winbindd to run? I am
> currently running under Mandrake 8.2 with samba 2.2.3.

In your /etc/samba/smb.conf [globals] add:
	wins server = 'IP_address_of_WINS_server'

in your /etc/nsswitch.conf, change the line that has 'hosts:' to:

hosts: files wins dns nis


Now try to ping a known MS Windows client by it's MS Windows machine name.

- John T.
-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list