Query and Map NetBIOS Names and IP Addresses


nmblookup -T

You can use nmblookup as a quick way to find any machines that are sharing files and printers via Samba. Append the -T option to the command, followed by " * " (and yes, you must include the quotation marks to tell the shell that you're not using the * as a wildcard representing the files in your current working directory).

$ nmblookup -T " * " querying * on 192.168.1.255 192.168.1.151 *<00> 192.168.1.104 *<00> 192.168.1.10 *<00> 


Three machines are on this LAN with Samba shares. To find out which of those are Master Browsers, see the previous section; to produce a list of the shares offered by each computer, proceed to the next section.



Linux Phrasebook
Linux Phrasebook
ISBN: 0672328380
EAN: 2147483647
Year: 2007
Pages: 288

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net