« When Good Engough Just Isn'tMore public domain images »

WINS Name Resolution for Linux

02/04/06

Permalink 12:57:33 am, by Ben Franske Email , 101 words   English (US)
Categories: Server Notes

WINS Name Resolution for Linux

Here's what I had to do to get WINS name resolution working on my Debian based linux:

apt-get install winbind

Note that the winbind program is part of the samba package and I alrady had installed samba and configured it to point to my local WINS server.

I then had to edit /etc/nsswitch.conf adding the winbind and wins entries:

passwd: compat winbind
group: compat winbind
shadow: compat

hosts: files wins dns mdns
networks: files

protocols: db files
services: db files
ethers: db files
rpc: db files

netgroup: nis

I can now ping and connect to Windows machines by name.

No feedback yet

Leave a comment


Your email address will not be revealed on this site.

Your URL will be displayed.
(Line breaks become <br />)
(Name, email & website)
(Allow users to contact you through a message form (your email will not be revealed.)