Friday, May 14, 2010

Resolve Netbios name in Ubuntu

Edit /etc/nsswitch.conf and modify the line that shows something about hosts:
hosts: files wins mdns4_minimal [NOTFOUND=return] dns mdns4
Install winbind:
sudo aptitude install winbind
For system with more than one network and with WINS server up and running, edit /etc/samba/smb.conf, like:
wins server = [ip_of_wins_server_here] name resolve order = lmhosts host wins bcast wins proxy = yes

~ts

No comments: