source: branches/samba-3.0/docs/manpages/findsmb.1@ 104

Last change on this file since 104 was 44, checked in by Paul Smedley, 18 years ago

Update source to 3.0.25b

File size: 3.9 KB
Line 
1.\"Generated by db2man.xsl. Don't modify this, modify the source.
2.de Sh \" Subsection
3.br
4.if t .Sp
5.ne 5
6.PP
7\fB\\$1\fR
8.PP
9..
10.de Sp \" Vertical space (when we can't use .PP)
11.if t .sp .5v
12.if n .sp
13..
14.de Ip \" List item
15.br
16.ie \\n(.$>=3 .ne \\$3
17.el .ne 3
18.IP "\\$1" \\$2
19..
20.TH "FINDSMB" 1 "" "" ""
21.SH "NAME"
22findsmb - list info about machines that respond to SMB name queries on a subnet
23.SH "SYNOPSIS"
24.HP 1
25findsmb [subnet broadcast address]
26.SH "DESCRIPTION"
27.PP
28This perl script is part of the
29\fBsamba\fR(7)
30suite.
31.PP
32findsmb
33is a perl script that prints out several pieces of information about machines on a subnet that respond to SMB name query requests. It uses
34\fBnmblookup\fR(1)
35and
36\fBsmbclient\fR(1)
37to obtain this information.
38.SH "OPTIONS"
39.PP
40-r
41.RS 3n
42Controls whether
43findsmb
44takes bugs in Windows95 into account when trying to find a Netbios name registered of the remote machine. This option is disabled by default because it is specific to Windows 95 and Windows 95 machines only. If set,
45\fBnmblookup\fR(1)
46will be called with
47\fB-B\fR
48option.
49.RE
50.PP
51subnet broadcast address
52.RS 3n
53Without this option,
54findsmb
55will probe the subnet of the machine where
56\fBfindsmb\fR(1)
57is run. This value is passed to
58\fBnmblookup\fR(1)
59as part of the
60\fB-B\fR
61option.
62.RE
63.SH "EXAMPLES"
64.PP
65The output of
66findsmb
67lists the following information for all machines that respond to the initial
68nmblookup
69for any name: IP address, NetBIOS name, Workgroup name, operating system, and SMB server version.
70.PP
71There will be a '+' in front of the workgroup name for machines that are local master browsers for that workgroup. There will be an '*' in front of the workgroup name for machines that are the domain master browser for that workgroup. Machines that are running Windows for Workgroups, Windows 95 or Windows 98 will not show any information about the operating system or server version.
72.PP
73The command with
74\fB-r\fR
75option must be run on a system without
76\fBnmbd\fR(8)
77running. If
78nmbd
79is running on the system, you will only get the IP address and the DNS name of the machine. To get proper responses from Windows 95 and Windows 98 machines, the command must be run as root and with
80\fB-r\fR
81option on a machine without
82nmbd
83running.
84.PP
85For example, running
86findsmb
87without
88\fB-r\fR
89option set would yield output similar to the following
90
91.nf
92
93IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
94---------------------------------------------------------------------
95192.168.35.10 MINESET-TEST1 [DMVENGR]
96192.168.35.55 LINUXBOX *[MYGROUP] [Unix] [Samba 2.0.6]
97192.168.35.56 HERBNT2 [HERB-NT]
98192.168.35.63 GANDALF [MVENGR] [Unix] [Samba 2.0.5a for IRIX]
99192.168.35.65 SAUNA [WORKGROUP] [Unix] [Samba 1.9.18p10]
100192.168.35.71 FROGSTAR [ENGR] [Unix] [Samba 2.0.0 for IRIX]
101192.168.35.78 HERBDHCP1 +[HERB]
102192.168.35.88 SCNT2 +[MVENGR] [Windows NT 4.0] [NT LAN Manager 4.0]
103192.168.35.93 FROGSTAR-PC [MVENGR] [Windows 5.0] [Windows 2000 LAN Manager]
104192.168.35.97 HERBNT1 *[HERB-NT] [Windows NT 4.0] [NT LAN Manager 4.0]
105
106.fi
107.SH "VERSION"
108.PP
109This man page is correct for version 3.0 of the Samba suite.
110.SH "SEE ALSO"
111.PP
112\fBnmbd\fR(8),
113\fBsmbclient\fR(1), and
114\fBnmblookup\fR(1)
115.SH "AUTHOR"
116.PP
117The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
118.PP
119The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at
120ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
121
Note: See TracBrowser for help on using the repository browser.