7 CONTENT=
"Modular DocBook HTML Stylesheet Version 1.57"></HEAD
27 >nmblookup
--
NetBIOS over TCP/IP client used to lookup NetBIOS
30 CLASS=
"REFSYNOPSISDIV"
40 > [-f] [-M] [-R] [-S] [-r] [-A] [-h] [-B
<broadcast address
>] [-U
<unicast address
>] [-d
<debug level
>] [-s
<smb config file
>] [-i
<NetBIOS scope
>] [-T] {name}
</P
50 >This tool is part of the
<A
59 > is used to query NetBIOS names
60 and map them to IP addresses in a network using NetBIOS over TCP/IP
61 queries. The options allow the name queries to be directed at a
62 particular IP broadcast area or to a particular machine. All queries
81 >Causes nmblookup to print out the flags
82 in the NMB packet headers. These flags will print out as
83 strings like Authoritative, Recursion_Desired, Recursion_available, etc.
90 >Searches for a master browser by looking
91 up the NetBIOS name
<TT
105 > is
"-" then it does a lookup on the special name
115 >Set the recursion desired bit in the packet
116 to do a recursive lookup. This is used when sending a name
117 query to a machine running a WINS server and the user wishes
118 to query the names in the WINS server. If this bit is unset
119 the normal (broadcast responding) NetBIOS processing code
120 on a machine is used instead. See rfc1001, rfc1002 for details.
127 >Once the name query has returned an IP
128 address then do a node status query as well. A node status
129 query returns the NetBIOS names registered by a host.
136 >Try and bind to UDP port
137 to send and receive UDP
137 datagrams. The reason for this option is a bug in Windows
95
138 where it ignores the source port of the requesting packet
139 and only replies to UDP port
137. Unfortunately, on most UNIX
140 systems root privilege is needed to bind to this port, and
141 in addition, if the
<A
146 daemon is running on this machine it also binds to this port.
159 an IP Address and do a node status query on this address.
</P
165 >Print a help (usage) message.
</P
168 >-B
<broadcast address
></DT
171 >Send the query to the given broadcast address. Without
172 this option the default behavior of nmblookup is to send the
173 query to the broadcast address of the network interfaces as
174 either auto-detected or defined in the
<A
175 HREF=
"smb.conf.5.html#INTERFACES"
184 > parameter of the
<TT
191 >-U
<unicast address
></DT
194 >Do a unicast query to the specified address or
206 > option) is needed to
207 query a WINS server.
</P
210 >-d
<debuglevel
></DT
213 >debuglevel is an integer from
0 to
10.
</P
215 >The default value if this parameter is not specified
218 >The higher this value, the more detail will be logged
219 about the activities of
<B
223 0, only critical errors and serious warnings will be logged.
</P
225 >Levels above
1 will generate considerable amounts of
226 log data, and should only be used when investigating a problem.
227 Levels above
3 are designed for use only by developers and
228 generate HUGE amounts of data, most of which is extremely cryptic.
</P
230 >Note that specifying this parameter here will override
232 HREF=
"smb.conf.5.html#LOGLEVEL"
240 > parameter in the
<TT
246 >-s
<smb.conf
></DT
249 >This parameter specifies the pathname to
250 the Samba configuration file,
<A
251 HREF=
"smb.conf.5.html"
254 >. This file controls all aspects of
255 the Samba setup on the machine.
</P
258 >-i
<scope
></DT
261 >This specifies a NetBIOS scope that
265 > will use to communicate with when
266 generating NetBIOS names. For details on the use of NetBIOS
267 scopes, see rfc1001.txt and rfc1002.txt. NetBIOS scopes are
270 > rarely used, only set this parameter
271 if you are the system administrator in charge of all the
272 NetBIOS systems you communicate with.
</P
278 >This causes any IP addresses found in the
279 lookup to be looked up via a reverse DNS lookup into a
280 DNS name, and printed out before each
</P
283 >IP address .... NetBIOS name
</EM
286 > pair that is the normal output.
</P
292 >This is the NetBIOS name being queried. Depending
293 upon the previous options this may be a NetBIOS name or IP address.
294 If a NetBIOS name then the different name types may be specified
295 by appending '#
<type
>' to the name. This name may also be
296 '*', which will return all registered names within a broadcast
313 > can be used to query
314 a WINS server (in the same way
<B
318 used to query DNS servers). To query a WINS server,
322 > must be called like this:
</P
326 >nmblookup -U server -R 'name'
</B
329 >For example, running :
</P
333 >nmblookup -U samba.org -R 'IRIX#
1B'
</B
336 >would query the WINS server samba.org for the domain
337 master browser (
1B name type) for the IRIX workgroup.
</P
347 >This man page is correct for version
2.2 of
371 HREF=
"smb.conf.5.html"
385 >The original Samba software and related utilities
386 were created by Andrew Tridgell. Samba is now developed
387 by the Samba Team as an Open Source project similar
388 to the way the Linux kernel is developed.
</P
390 >The original Samba man pages were written by Karl Auer.
391 The man page sources were converted to YODL format (another
392 excellent piece of Open Source software, available at
394 HREF=
"ftp://ftp.icce.rug.nl/pub/unix/"
396 > ftp://ftp.icce.rug.nl/pub/unix/
</A
397 >) and updated for the Samba
2.0
398 release by Jeremy Allison. The conversion to DocBook for
399 Samba
2.2 was done by Gerald Carter
</P