Samba Distribution Programs
This section lists the command-line options and subcommands provided by each of the executables in the Samba distribution.
nmblookup
nmblookup is a client program that exercises
the NetBIOS-over-UDP/IP name service for resolving NBT machine names
into IP addresses. The program works by broadcasting its queries on
the local subnet until a machine with the specified name responds.
You can think of it as a Windows nslookup(1) or
dig(1). This is useful for
looking up normal NetBIOS names as well as the odd ones, like
_ _MSBROWSE_ _, that the Windows name services
use to provide directory-like services. If you wish to query for a
particular type of NetBIOS name, add the NetBIOS
<type> to the end of the name.
The command line is:
nmblookup [options]name
The options supported are:
-AInterprets
nameas an IP address and does a node-status query on this address.-Bbroadcast_addressSends the query to the given broadcast address. The default is to send the query to the broadcast address of the primary network interface.
-ddebug_levelSets the debug (sometimes called logging) level. The level can range from to 10. Debug level logs only the most important messages; level 1 is normal; and levels 3 and above are primarily for debugging and slow the program considerably.
-hPrints command-line usage information for the program.
-iscopeSets a NetBIOS scope identifier. Only machines with the same identifier will communicate with the server. The scope identifier was a predecessor ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access