source: branches/samba-3.2.x/docs/manpages/findsmb.1@ 201

Last change on this file since 201 was 201, checked in by Herwig Bauernfeind, 16 years ago

Update to Samba 3.2.3

File size: 4.1 KB
Line 
1.\" Title: findsmb
2.\" Author:
3.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
4.\" Date: 08/27/2008
5.\" Manual: User Commands
6.\" Source: Samba 3.2
7.\"
8.TH "FINDSMB" "1" "08/27/2008" "Samba 3\.2" "User Commands"
9.\" disable hyphenation
10.nh
11.\" disable justification (adjust text to left margin only)
12.ad l
13.SH "NAME"
14findsmb - list info about machines that respond to SMB name queries on a subnet
15.SH "SYNOPSIS"
16.HP 1
17findsmb [subnet\ broadcast\ address]
18.SH "DESCRIPTION"
19.PP
20This perl script is part of the
21\fBsamba\fR(7)
22suite\.
23.PP
24findsmb
25is a perl script that prints out several pieces of information about machines on a subnet that respond to SMB name query requests\. It uses
26\fBnmblookup\fR(1)
27and
28\fBsmbclient\fR(1)
29to obtain this information\.
30.SH "OPTIONS"
31.PP
32\-r
33.RS 4
34Controls whether
35findsmb
36takes 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,
37\fBnmblookup\fR(1)
38will be called with
39\fB\-B\fR
40option\.
41.RE
42.PP
43subnet broadcast address
44.RS 4
45Without this option,
46findsmb
47will probe the subnet of the machine where
48\fBfindsmb\fR(1)
49is run\. This value is passed to
50\fBnmblookup\fR(1)
51as part of the
52\fB\-B\fR
53option\.
54.RE
55.SH "EXAMPLES"
56.PP
57The output of
58findsmb
59lists the following information for all machines that respond to the initial
60nmblookup
61for any name: IP address, NetBIOS name, Workgroup name, operating system, and SMB server version\.
62.PP
63There 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\.
64.PP
65The command with
66\fB\-r\fR
67option must be run on a system without
68\fBnmbd\fR(8)
69running\. If
70nmbd
71is 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
72\fB\-r\fR
73option on a machine without
74nmbd
75running\.
76.PP
77For example, running
78findsmb
79without
80\fB\-r\fR
81option set would yield output similar to the following
82.sp
83.RS 4
84.nf
85IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
86\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-
87192\.168\.35\.10 MINESET\-TEST1 [DMVENGR]
88192\.168\.35\.55 LINUXBOX *[MYGROUP] [Unix] [Samba 2\.0\.6]
89192\.168\.35\.56 HERBNT2 [HERB\-NT]
90192\.168\.35\.63 GANDALF [MVENGR] [Unix] [Samba 2\.0\.5a for IRIX]
91192\.168\.35\.65 SAUNA [WORKGROUP] [Unix] [Samba 1\.9\.18p10]
92192\.168\.35\.71 FROGSTAR [ENGR] [Unix] [Samba 2\.0\.0 for IRIX]
93192\.168\.35\.78 HERBDHCP1 +[HERB]
94192\.168\.35\.88 SCNT2 +[MVENGR] [Windows NT 4\.0] [NT LAN Manager 4\.0]
95192\.168\.35\.93 FROGSTAR\-PC [MVENGR] [Windows 5\.0] [Windows 2000 LAN Manager]
96192\.168\.35\.97 HERBNT1 *[HERB\-NT] [Windows NT 4\.0] [NT LAN Manager 4\.0]
97.fi
98.RE
99.SH "VERSION"
100.PP
101This man page is correct for version 3 of the Samba suite\.
102.SH "SEE ALSO"
103.PP
104\fBnmbd\fR(8),
105\fBsmbclient\fR(1), and
106\fBnmblookup\fR(1)
107.SH "AUTHOR"
108.PP
109The 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\.
110.PP
111The 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
112ftp://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.