source: vendor/3.6.23/docs/manpages/findsmb.1

Last change on this file was 860, checked in by Silvan Scherrer, 11 years ago

Samba 3.6: updated vendor to latest version

File size: 5.0 KB
Line 
1'\" t
2.\" Title: findsmb
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
5.\" Date: 09/18/2013
6.\" Manual: User Commands
7.\" Source: Samba 3.6
8.\" Language: English
9.\"
10.TH "FINDSMB" "1" "09/18/2013" "Samba 3\&.6" "User Commands"
11.\" -----------------------------------------------------------------
12.\" * Define some portability stuff
13.\" -----------------------------------------------------------------
14.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15.\" http://bugs.debian.org/507673
16.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18.ie \n(.g .ds Aq \(aq
19.el .ds Aq '
20.\" -----------------------------------------------------------------
21.\" * set default formatting
22.\" -----------------------------------------------------------------
23.\" disable hyphenation
24.nh
25.\" disable justification (adjust text to left margin only)
26.ad l
27.\" -----------------------------------------------------------------
28.\" * MAIN CONTENT STARTS HERE *
29.\" -----------------------------------------------------------------
30.SH "NAME"
31findsmb \- list info about machines that respond to SMB name queries on a subnet
32.SH "SYNOPSIS"
33.HP \w'\ 'u
34findsmb [subnet\ broadcast\ address]
35.SH "DESCRIPTION"
36.PP
37This perl script is part of the
38\fBsamba\fR(7)
39suite\&.
40.PP
41findsmb
42is a perl script that prints out several pieces of information about machines on a subnet that respond to SMB name query requests\&. It uses
43\fBnmblookup\fR(1)
44and
45\fBsmbclient\fR(1)
46to obtain this information\&.
47.SH "OPTIONS"
48.PP
49\-r
50.RS 4
51Controls whether
52findsmb
53takes 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,
54\fBnmblookup\fR(1)
55will be called with
56\fB\-B\fR
57option\&.
58.RE
59.PP
60subnet broadcast address
61.RS 4
62Without this option,
63findsmb
64will probe the subnet of the machine where
65\fBfindsmb\fR(1)
66is run\&. This value is passed to
67\fBnmblookup\fR(1)
68as part of the
69\fB\-B\fR
70option\&.
71.RE
72.SH "EXAMPLES"
73.PP
74The output of
75findsmb
76lists the following information for all machines that respond to the initial
77nmblookup
78for any name: IP address, NetBIOS name, Workgroup name, operating system, and SMB server version\&.
79.PP
80There will be a \*(Aq+\*(Aq in front of the workgroup name for machines that are local master browsers for that workgroup\&. There will be an \*(Aq*\*(Aq 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\&.
81.PP
82The command with
83\fB\-r\fR
84option must be run on a system without
85\fBnmbd\fR(8)
86running\&. If
87nmbd
88is 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
89\fB\-r\fR
90option on a machine without
91nmbd
92running\&.
93.PP
94For example, running
95findsmb
96without
97\fB\-r\fR
98option set would yield output similar to the following
99.sp
100.if n \{\
101.RS 4
102.\}
103.nf
104IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
105\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
106192\&.168\&.35\&.10 MINESET\-TEST1 [DMVENGR]
107192\&.168\&.35\&.55 LINUXBOX *[MYGROUP] [Unix] [Samba 2\&.0\&.6]
108192\&.168\&.35\&.56 HERBNT2 [HERB\-NT]
109192\&.168\&.35\&.63 GANDALF [MVENGR] [Unix] [Samba 2\&.0\&.5a for IRIX]
110192\&.168\&.35\&.65 SAUNA [WORKGROUP] [Unix] [Samba 1\&.9\&.18p10]
111192\&.168\&.35\&.71 FROGSTAR [ENGR] [Unix] [Samba 2\&.0\&.0 for IRIX]
112192\&.168\&.35\&.78 HERBDHCP1 +[HERB]
113192\&.168\&.35\&.88 SCNT2 +[MVENGR] [Windows NT 4\&.0] [NT LAN Manager 4\&.0]
114192\&.168\&.35\&.93 FROGSTAR\-PC [MVENGR] [Windows 5\&.0] [Windows 2000 LAN Manager]
115192\&.168\&.35\&.97 HERBNT1 *[HERB\-NT] [Windows NT 4\&.0] [NT LAN Manager 4\&.0]
116.fi
117.if n \{\
118.RE
119.\}
120.SH "VERSION"
121.PP
122This man page is correct for version 3 of the Samba suite\&.
123.SH "SEE ALSO"
124.PP
125\fBnmbd\fR(8),
126\fBsmbclient\fR(1), and
127\fBnmblookup\fR(1)
128.SH "AUTHOR"
129.PP
130The 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\&.
131.PP
132The 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
133ftp://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\&.
Note: See TracBrowser for help on using the repository browser.