summaryrefslogtreecommitdiff
path: root/docs/manpages/nmblookup.1
blob: 50cbbe2c2dca83c2d870e4ccf3169fa3e3f5abe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
.TH NMBLOOKUP 1 "09 Oct 1998" "nmblookup 2.0.0-alpha11"
.SH NAME
nmblookup \- NBT client used to lookup netbios names
.SH SYNOPSIS
.B nmblookup
[
.B \-M
] [
.B \-R
] [
.B \-S
] [
.B \-r
] [
.B \-A
] [
.B \-B
.I broadcast address
] [
.B \-U
.I unicast address
] [
.B \-d
.I debuglevel
]
.B name
.SH DESCRIPTION
This program is part of the Samba suite.

.B nmblookup
is used to find out NetBIOS names in a network.
.SH OPTIONS
.B \-d
.I debuglevel

.RS 3
This option sets the debug level. See
.BR smb.conf (5).
.RE

.B \-B
.I broadcast address
.RS 3

Send the query to the broadcast address
.I broadcast address.
The default behavior of nmblookup is to send the query to the broadcast
address of the primary network interface.
.RE

.B \-U
.I unicast address
.RS 3

Do a unicast query to the specified address or host
.I unicast address.
This is needed to query a WINS server.
.RE

.B \-M

.RS 3
Searches for a master browser.
.RE

.B \-R

.RS 3
Do a recursive lookup (needed to direct the query to the WINS portion
of the server rather than the broadcast portion.)

.RE

.B \-S

.RS 3
Lookup node status as well.
.RE

.B \-r

.RS 3
Use root port 137 (Win95 only replies to this.)
.RE

.B \-A

.RS 3
Do a node status on <name> as an IP Address.
.RE

.SH EXAMPLES

.B nmblookup
can be used to query a WINS server (in the same way
.B nslookup
is used to query DNS servers). To query a WINS server,
.B nmblookup
must be called like this:

.B nmblookup
-U server -R 'query'

For example, running '
.B nmblookup
-U samba.anu.edu.au -R IRIX#1B' would query the WINS server
samba.anu.edu.au for the domain master browser (1B name) for the 
IRIX workgroup.

.SH VERSION

This man page is (mostly) correct for version 1.9.16 of the Samba
suite, plus some of the recent patches to it. These notes will
necessarily lag behind development of the software, so it is possible
that your version of the server has extensions or parameter semantics
that differ from or are not covered by this man page. Please notify
these to the address below for rectification.
.SH SEE ALSO
.BR samba (8), 
.BR nmbd (8), 
.BR smb.conf (5)
.SH CREDITS
The original Samba software and related utilities were created by 
Andrew Tridgell (samba-bugs@samba.anu.edu.au). Andrew is also the Keeper
of the Source for this project.