1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.77"></HEAD
28 >nmblookup -- NetBIOS over TCP/IP client used to lookup NetBIOS
31 CLASS="REFSYNOPSISDIV"
41 > [-M] [-R] [-S] [-r] [-A] [-h] [-B <broadcast address>] [-U <unicast address>] [-d <debug level>] [-s <smb config file>] [-i <NetBIOS scope>] [-T] [-f] {name}</P
51 >This tool is part of the <A
60 > is used to query NetBIOS names
61 and map them to IP addresses in a network using NetBIOS over TCP/IP
62 queries. The options allow the name queries to be directed at a
63 particular IP broadcast area or to a particular machine. All queries
82 >Searches for a master browser by looking
83 up the NetBIOS name <TT
97 > is "-" then it does a lookup on the special name
107 >Set the recursion desired bit in the packet
108 to do a recursive lookup. This is used when sending a name
109 query to a machine running a WINS server and the user wishes
110 to query the names in the WINS server. If this bit is unset
111 the normal (broadcast responding) NetBIOS processing code
112 on a machine is used instead. See rfc1001, rfc1002 for details.
119 >Once the name query has returned an IP
120 address then do a node status query as well. A node status
121 query returns the NetBIOS names registered by a host.
128 >Try and bind to UDP port 137 to send and receive UDP
129 datagrams. The reason for this option is a bug in Windows 95
130 where it ignores the source port of the requesting packet
131 and only replies to UDP port 137. Unfortunately, on most UNIX
132 systems root privilege is needed to bind to this port, and
133 in addition, if the <A
138 daemon is running on this machine it also binds to this port.
151 an IP Address and do a node status query on this address.</P
157 >Print a help (usage) message.</P
160 >-B <broadcast address></DT
163 >Send the query to the given broadcast address. Without
164 this option the default behavior of nmblookup is to send the
165 query to the broadcast address of the network interfaces as
166 either auto-detected or defined in the <A
167 HREF="smb.conf.5.html#INTERFACES"
176 > parameter of the <TT
183 >-U <unicast address></DT
186 >Do a unicast query to the specified address or
198 > option) is needed to
199 query a WINS server.</P
202 >-d <debuglevel></DT
205 >debuglevel is an integer from 0 to 10.</P
207 >The default value if this parameter is not specified
210 >The higher this value, the more detail will be logged
211 about the activities of <B
215 0, only critical errors and serious warnings will be logged.</P
217 >Levels above 1 will generate considerable amounts of
218 log data, and should only be used when investigating a problem.
219 Levels above 3 are designed for use only by developers and
220 generate HUGE amounts of data, most of which is extremely cryptic.</P
222 >Note that specifying this parameter here will override
224 HREF="smb.conf.5.html#LOGLEVEL"
232 > parameter in the <TT
238 >-s <smb.conf></DT
241 >This parameter specifies the pathname to
242 the Samba configuration file, <A
243 HREF="smb.conf.5.html"
246 >. This file controls all aspects of
247 the Samba setup on the machine.</P
250 >-i <scope></DT
253 >This specifies a NetBIOS scope that
257 > will use to communicate with when
258 generating NetBIOS names. For details on the use of NetBIOS
259 scopes, see rfc1001.txt and rfc1002.txt. NetBIOS scopes are
266 > rarely used, only set this parameter
267 if you are the system administrator in charge of all the
268 NetBIOS systems you communicate with.</P
274 >This causes any IP addresses found in the
275 lookup to be looked up via a reverse DNS lookup into a
276 DNS name, and printed out before each</P
282 >IP address .... NetBIOS name</I
286 > pair that is the normal output.</P
292 > Show which flags apply to the name that has been looked up. Possible
293 answers are zero or more of: Response, Authoritative,
294 Truncated, Recursion_Desired, Recursion_Available, Broadcast.
301 >This is the NetBIOS name being queried. Depending
302 upon the previous options this may be a NetBIOS name or IP address.
303 If a NetBIOS name then the different name types may be specified
304 by appending '#<type>' to the name. This name may also be
305 '*', which will return all registered names within a broadcast
322 > can be used to query
323 a WINS server (in the same way <B
327 used to query DNS servers). To query a WINS server,
331 > must be called like this:</P
335 >nmblookup -U server -R 'name'</B
338 >For example, running :</P
342 >nmblookup -U samba.org -R 'IRIX#1B'</B
345 >would query the WINS server samba.org for the domain
346 master browser (1B name type) for the IRIX workgroup.</P
356 >This man page is correct for version 3.0 of
380 HREF="smb.conf.5.html"
394 >The original Samba software and related utilities
395 were created by Andrew Tridgell. Samba is now developed
396 by the Samba Team as an Open Source project similar
397 to the way the Linux kernel is developed.</P
399 >The original Samba man pages were written by Karl Auer.
400 The man page sources were converted to YODL format (another
401 excellent piece of Open Source software, available at
403 HREF="ftp://ftp.icce.rug.nl/pub/unix/"
405 > ftp://ftp.icce.rug.nl/pub/unix/</A
406 >) and updated for the Samba 2.0
407 release by Jeremy Allison. The conversion to DocBook for
408 Samba 2.2 was done by Gerald Carter</P