source: branches/samba-3.5.x/docs/manpages/findsmb.1@ 773

Last change on this file since 773 was 773, checked in by Herwig Bauernfeind, 12 years ago

Samba Server 3.5: Update branch to 3.5.20

File size: 4.6 KB
Line 
1'\" t
2.\" Title: findsmb
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5.\" Date: 12/14/2012
6.\" Manual: User Commands
7.\" Source: Samba 3.5
8.\" Language: English
9.\"
10.TH "FINDSMB" "1" "12/14/2012" "Samba 3\&.5" "User Commands"
11.\" -----------------------------------------------------------------
12.\" * set default formatting
13.\" -----------------------------------------------------------------
14.\" disable hyphenation
15.nh
16.\" disable justification (adjust text to left margin only)
17.ad l
18.\" -----------------------------------------------------------------
19.\" * MAIN CONTENT STARTS HERE *
20.\" -----------------------------------------------------------------
21.SH "NAME"
22findsmb \- list info about machines that respond to SMB name queries on a subnet
23.SH "SYNOPSIS"
24.HP \w'\ 'u
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 4
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 4
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.sp
91.if n \{\
92.RS 4
93.\}
94.nf
95IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
96\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
97192\&.168\&.35\&.10 MINESET\-TEST1 [DMVENGR]
98192\&.168\&.35\&.55 LINUXBOX *[MYGROUP] [Unix] [Samba 2\&.0\&.6]
99192\&.168\&.35\&.56 HERBNT2 [HERB\-NT]
100192\&.168\&.35\&.63 GANDALF [MVENGR] [Unix] [Samba 2\&.0\&.5a for IRIX]
101192\&.168\&.35\&.65 SAUNA [WORKGROUP] [Unix] [Samba 1\&.9\&.18p10]
102192\&.168\&.35\&.71 FROGSTAR [ENGR] [Unix] [Samba 2\&.0\&.0 for IRIX]
103192\&.168\&.35\&.78 HERBDHCP1 +[HERB]
104192\&.168\&.35\&.88 SCNT2 +[MVENGR] [Windows NT 4\&.0] [NT LAN Manager 4\&.0]
105192\&.168\&.35\&.93 FROGSTAR\-PC [MVENGR] [Windows 5\&.0] [Windows 2000 LAN Manager]
106192\&.168\&.35\&.97 HERBNT1 *[HERB\-NT] [Windows NT 4\&.0] [NT LAN Manager 4\&.0]
107.fi
108.if n \{\
109.RE
110.\}
111.SH "VERSION"
112.PP
113This man page is correct for version 3 of the Samba suite\&.
114.SH "SEE ALSO"
115.PP
116\fBnmbd\fR(8),
117\fBsmbclient\fR(1), and
118\fBnmblookup\fR(1)
119.SH "AUTHOR"
120.PP
121The 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\&.
122.PP
123The 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
124ftp://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.