Skip to content

Instantly share code, notes, and snippets.

@ngaloppo
Created November 23, 2016 06:24
Show Gist options
  • Save ngaloppo/322fbd65d82660eb729bcbbecc0bd3d0 to your computer and use it in GitHub Desktop.
Save ngaloppo/322fbd65d82660eb729bcbbecc0bd3d0 to your computer and use it in GitHub Desktop.
How to install NETBIOS hostname resolution on Ubuntu

Installing NETBIOS hostname resolution on Ubuntu

Install prerequisites:

sudo apt-get libnss-winbind winbind

Then, edit /etc/nsswitch.conf and add wins to the hosts line.

You can always use nmblookup manually if you don't want the above setup.

@TimSC
Copy link

TimSC commented Jul 6, 2018

@kokleong98
Copy link

Shouldn't that be this command instead?
sudo apt-get install libnss-winbind winbind

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment