How to do a netbios name reverse lookup using samba.


November 2011.

How to do a netbios name reverse lookup using samba



Use nmblookup

# nmblookup -A 10.0.9.124
Looking up status of 10.0.9.124
ZWM-SERVER <00> - H <ACTIVE>
ZWM-SERVER <03> - H <ACTIVE>
ZWM-SERVER <20> - H <ACTIVE>
REZID <1e> - <GROUP> H <ACTIVE>
REZID <00> - <GROUP> H <ACTIVE>

MAC Address = 00-00-00-00-00-00

If you're on debian on don't have the command, install the package named samba-common-bin:

# apt-get install samba-common-bin

Sources: