This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
[samba.git] / docs / manpages / findsmb.1
1 .\" This manpage has been automatically generated by docbook2man 
2 .\" from a DocBook document.  This tool can be found at:
3 .\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
4 .\" Please send any bug reports, improvements, comments, patches, 
5 .\" etc. to Steve Cheng <steve@ggi-project.org>.
6 .TH "FINDSMB" "1" "26 November 2002" "" ""
7 .SH NAME
8 findsmb \- list info about machines that respond to SMB  name queries on a subnet
9 .SH SYNOPSIS
10
11 \fBfindsmb\fR [ \fBsubnet broadcast address\fR ]
12
13 .SH "DESCRIPTION"
14 .PP
15 This perl script is part of the  Samba suite.
16 .PP
17 \fBfindsmb\fR is a perl script that
18 prints out several pieces of information about machines 
19 on a subnet that respond to SMB  name query requests.
20 It uses \fB nmblookup(1)\fR to obtain this information.
21 .SH "OPTIONS"
22 .TP
23 \fBsubnet broadcast address\fR
24 Without this option, \fBfindsmb
25 \fR will probe the subnet of the machine where 
26 \fBfindsmb\fR is run. This value is passed 
27 to \fBnmblookup\fR as part of the 
28 -B option.
29 .SH "EXAMPLES"
30 .PP
31 The output of \fBfindsmb\fR lists the following 
32 information for all machines that respond to the initial 
33 \fBnmblookup\fR for any name: IP address, NetBIOS name, 
34 Workgroup name, operating system, and SMB server version.
35 .PP
36 There will be a '+' in front of the workgroup name for 
37 machines that are local master browsers for that workgroup. There 
38 will be an '*' in front of the workgroup name for 
39 machines that are the domain master browser for that workgroup. 
40 Machines that are running Windows, Windows 95 or Windows 98 will 
41 not show any information about the operating system or server 
42 version.
43 .PP
44 The command must be run on a system without \fBnmbd\fR running. 
45 If \fBnmbd\fR is running on the system, you will 
46 only  get the IP address and the DNS name of the machine. To 
47 get proper responses  from Windows 95 and Windows 98 machines, 
48 the command must be run as root. 
49 .PP
50 For example, running \fBfindsmb\fR on a machine 
51 without \fBnmbd\fR running would yield output similar
52 to the following
53
54 .nf
55 IP ADDR         NETBIOS NAME   WORKGROUP/OS/VERSION 
56 --------------------------------------------------------------------- 
57 192.168.35.10   MINESET-TEST1  [DMVENGR]
58 192.168.35.55   LINUXBOX      *[MYGROUP] [Unix] [Samba 2.0.6]
59 192.168.35.56   HERBNT2        [HERB-NT]
60 192.168.35.63   GANDALF        [MVENGR] [Unix] [Samba 2.0.5a for IRIX]
61 192.168.35.65   SAUNA          [WORKGROUP] [Unix] [Samba 1.9.18p10]
62 192.168.35.71   FROGSTAR       [ENGR] [Unix] [Samba 2.0.0 for IRIX]
63 192.168.35.78   HERBDHCP1     +[HERB]
64 192.168.35.88   SCNT2         +[MVENGR] [Windows NT 4.0] [NT LAN Manager 4.0]
65 192.168.35.93   FROGSTAR-PC    [MVENGR] [Windows 5.0] [Windows 2000 LAN Manager]
66 192.168.35.97   HERBNT1       *[HERB-NT] [Windows NT 4.0] [NT LAN Manager 4.0]
67         
68 .fi
69 .SH "VERSION"
70 .PP
71 This man page is correct for version 3.0 of 
72 the Samba suite.
73 .SH "SEE ALSO"
74 .PP
75 \fBnmbd(8)\fR 
76 \fBsmbclient(1)
77 \fR and  \fBnmblookup(1)\fR
78 .SH "AUTHOR"
79 .PP
80 The original Samba software and related utilities 
81 were created by Andrew Tridgell. Samba is now developed
82 by the Samba Team as an Open Source project similar 
83 to the way the Linux kernel is developed.
84 .PP
85 The original Samba man pages were written by Karl Auer. 
86 The man page sources were converted to YODL format (another 
87 excellent piece of Open Source software, available at
88 ftp://ftp.icce.rug.nl/pub/unix/ <URL:ftp://ftp.icce.rug.nl/pub/unix/>) and updated for the Samba 2.0 
89 release by Jeremy Allison.  The conversion to DocBook for 
90 Samba 2.2 was done by Gerald Carter