Author Topic: Ping NetBIOS hostnames (not completely fool-proof)  (Read 2194 times)

Saturn2888

  • Zen Hero
  • *****
  • Posts: 707
  • Karma: +1/-0
    • View Profile
Ping NetBIOS hostnames (not completely fool-proof)
« on: February 07, 2010, 03:50:10 pm »
While this only worked on three of the four machines I tried, it's better than nothing. The machines I tired this on were, two are eBox 1.4, one Ubuntu Karmic Server, and FreeNAS 0.71 on FreeBSD 7.2.

Code: [Select]
apt-get install winbind (eBox 1.4 has its own version)

nano /etc/nsswitch.conf
hosts: files dns => hosts: files dns wins

winbindd

DONE! It should immediately start working. Funny thing is, the machine it doesn't work in for me is the only machine I actually need it working in bleh :(.

In FreeBSD, /etc/nsswitch.conf is located in /var/etc/nsswitch.conf <- correct me if I'm wrong, the machine's offline at the moment.