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 > [-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 >Searches for a master browser by looking
82 up the NetBIOS name
<TT
96 > is
"-" then it does a lookup on the special name
106 >Set the recursion desired bit in the packet
107 to do a recursive lookup. This is used when sending a name
108 query to a machine running a WINS server and the user wishes
109 to query the names in the WINS server. If this bit is unset
110 the normal (broadcast responding) NetBIOS processing code
111 on a machine is used instead. See rfc1001, rfc1002 for details.
118 >Once the name query has returned an IP
119 address then do a node status query as well. A node status
120 query returns the NetBIOS names registered by a host.
127 >Try and bind to UDP port
137 to send and receive UDP
128 datagrams. The reason for this option is a bug in Windows
95
129 where it ignores the source port of the requesting packet
130 and only replies to UDP port
137. Unfortunately, on most UNIX
131 systems root privilage is needed to bind to this port, and
132 in addition, if the
<A
137 daemon is running on this machine it also binds to this port.
150 an IP Address and do a node status query on this address.
</P
156 >Print a help (usage) message.
</P
159 >-B
<broadcast address
></DT
162 >Send the query to the given broadcast address. Without
163 this option the default behavior of nmblookup is to send the
164 query to the broadcast address of the network interfaces as
165 either auto-detected or defined in the
<A
166 HREF=
"smb.conf.5.html#INTERFACES"
175 > parameter of the
<TT
182 >-U
<unicast address
></DT
185 >Do a unicast query to the specified address or
197 > option) is needed to
198 query a WINS server.
</P
201 >-d
<debuglevel
></DT
204 >debuglevel is an integer from
0 to
10.
</P
206 >The default value if this parameter is not specified
209 >The higher this value, the more detail will be logged
210 about the activities of
<B
214 0, only critical errors and serious warnings will be logged.
</P
216 >Levels above
1 will generate considerable amounts of
217 log data, and should only be used when investigating a problem.
218 Levels above
3 are designed for use only by developers and
219 generate HUGE amounts of data, most of which is extremely cryptic.
</P
221 >Note that specifying this parameter here will override
223 HREF=
"smb.conf.5.html#LOGLEVEL"
231 > parameter in the
<TT
237 >-s
<smb.conf
></DT
240 >This parameter specifies the pathname to
241 the Samba configuration file,
<A
242 HREF=
"smb.conf.5.html"
245 >. This file controls all aspects of
246 the Samba setup on the machine.
</P
249 >-i
<scope
></DT
252 >This specifies a NetBIOS scope that
256 > will use to communicate with when
257 generating NetBIOS names. For details on the use of NetBIOS
258 scopes, see rfc1001.txt and rfc1002.txt. NetBIOS scopes are
261 > rarely used, only set this parameter
262 if you are the system administrator in charge of all the
263 NetBIOS systems you communicate with.
</P
269 >This causes any IP addresses found in the
270 lookup to be looked up via a reverse DNS lookup into a
271 DNS name, and printed out before each
</P
274 >IP address .... NetBIOS name
</EM
277 > pair that is the normal output.
</P
283 >This is the NetBIOS name being queried. Depending
284 upon the previous options this may be a NetBIOS name or IP address.
285 If a NetBIOS name then the different name types may be specified
286 by appending '#
<type
>' to the name. This name may also be
287 '*', which will return all registered names within a broadcast
304 > can be used to query
305 a WINS server (in the same way
<B
309 used to query DNS servers). To query a WINS server,
313 > must be called like this:
</P
317 >nmblookup -U server -R 'name'
</B
320 >For example, running :
</P
324 >nmblookup -U samba.org -R 'IRIX#
1B'
</B
327 >would query the WINS server samba.org for the domain
328 master browser (
1B name type) for the IRIX workgroup.
</P
338 >This man page is correct for version
2.2 of
362 HREF=
"smb.conf.5.html"
376 >The original Samba software and related utilities
377 were created by Andrew Tridgell. Samba is now developed
378 by the Samba Team as an Open Source project similar
379 to the way the Linux kernel is developed.
</P
381 >The original Samba man pages were written by Karl Auer.
382 The man page sources were converted to YODL format (another
383 excellent piece of Open Source software, available at
385 HREF=
"ftp://ftp.icce.rug.nl/pub/unix/"
387 > ftp://ftp.icce.rug.nl/pub/unix/
</A
388 >) and updated for the Samba
2.0
389 release by Jeremy Allison. The conversion to DocBook for
390 Samba
2.2 was done by Gerald Carter
</P