Changeset 231 for branches/samba-3.2.x/docs/manpages/findsmb.1
- Timestamp:
- May 27, 2009, 9:08:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/docs/manpages/findsmb.1
r229 r231 1 1 .\" Title: findsmb 2 .\" Author: 3 .\" Generator: DocBook XSL Stylesheets v1.7 3.1<http://docbook.sf.net/>4 .\" Date: 12/19/20082 .\" Author: [see the "AUTHOR" section] 3 .\" Generator: DocBook XSL Stylesheets v1.74.0 <http://docbook.sf.net/> 4 .\" Date: 02/03/2009 5 5 .\" Manual: User Commands 6 6 .\" Source: Samba 3.2 7 .\" Language: English 7 8 .\" 8 .TH "FINDSMB" "1" "12/19/2008" "Samba 3\.2" "User Commands" 9 .TH "FINDSMB" "1" "02/03/2009" "Samba 3\&.2" "User Commands" 10 .\" ----------------------------------------------------------------- 11 .\" * (re)Define some macros 12 .\" ----------------------------------------------------------------- 13 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 14 .\" toupper - uppercase a string (locale-aware) 15 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 16 .de toupper 17 .tr aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ 18 \\$* 19 .tr aabbccddeeffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz 20 .. 21 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 22 .\" SH-xref - format a cross-reference to an SH section 23 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 .de SH-xref 25 .ie n \{\ 26 .\} 27 .toupper \\$* 28 .el \{\ 29 \\$* 30 .\} 31 .. 32 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 .\" SH - level-one heading that works better for non-TTY output 34 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 .de1 SH 36 .\" put an extra blank line of space above the head in non-TTY output 37 .if t \{\ 38 .sp 1 39 .\} 40 .sp \\n[PD]u 41 .nr an-level 1 42 .set-an-margin 43 .nr an-prevailing-indent \\n[IN] 44 .fi 45 .in \\n[an-margin]u 46 .ti 0 47 .HTML-TAG ".NH \\n[an-level]" 48 .it 1 an-trap 49 .nr an-no-space-flag 1 50 .nr an-break-flag 1 51 \." make the size of the head bigger 52 .ps +3 53 .ft B 54 .ne (2v + 1u) 55 .ie n \{\ 56 .\" if n (TTY output), use uppercase 57 .toupper \\$* 58 .\} 59 .el \{\ 60 .nr an-break-flag 0 61 .\" if not n (not TTY), use normal case (not uppercase) 62 \\$1 63 .in \\n[an-margin]u 64 .ti 0 65 .\" if not n (not TTY), put a border/line under subheading 66 .sp -.6 67 \l'\n(.lu' 68 .\} 69 .. 70 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 .\" SS - level-two heading that works better for non-TTY output 72 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 .de1 SS 74 .sp \\n[PD]u 75 .nr an-level 1 76 .set-an-margin 77 .nr an-prevailing-indent \\n[IN] 78 .fi 79 .in \\n[IN]u 80 .ti \\n[SN]u 81 .it 1 an-trap 82 .nr an-no-space-flag 1 83 .nr an-break-flag 1 84 .ps \\n[PS-SS]u 85 \." make the size of the head bigger 86 .ps +2 87 .ft B 88 .ne (2v + 1u) 89 .if \\n[.$] \&\\$* 90 .. 91 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 92 .\" BB/BE - put background/screen (filled box) around block of text 93 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 94 .de BB 95 .if t \{\ 96 .sp -.5 97 .br 98 .in +2n 99 .ll -2n 100 .gcolor red 101 .di BX 102 .\} 103 .. 104 .de EB 105 .if t \{\ 106 .if "\\$2"adjust-for-leading-newline" \{\ 107 .sp -1 108 .\} 109 .br 110 .di 111 .in 112 .ll 113 .gcolor 114 .nr BW \\n(.lu-\\n(.i 115 .nr BH \\n(dn+.5v 116 .ne \\n(BHu+.5v 117 .ie "\\$2"adjust-for-leading-newline" \{\ 118 \M[\\$1]\h'1n'\v'+.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] 119 .\} 120 .el \{\ 121 \M[\\$1]\h'1n'\v'-.5v'\D'P \\n(BWu 0 0 \\n(BHu -\\n(BWu 0 0 -\\n(BHu'\M[] 122 .\} 123 .in 0 124 .sp -.5v 125 .nf 126 .BX 127 .in 128 .sp .5v 129 .fi 130 .\} 131 .. 132 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 133 .\" BM/EM - put colored marker in margin next to block of text 134 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 .de BM 136 .if t \{\ 137 .br 138 .ll -2n 139 .gcolor red 140 .di BX 141 .\} 142 .. 143 .de EM 144 .if t \{\ 145 .br 146 .di 147 .ll 148 .gcolor 149 .nr BH \\n(dn 150 .ne \\n(BHu 151 \M[\\$1]\D'P -.75n 0 0 \\n(BHu -(\\n[.i]u - \\n(INu - .75n) 0 0 -\\n(BHu'\M[] 152 .in 0 153 .nf 154 .BX 155 .in 156 .fi 157 .\} 158 .. 159 .\" ----------------------------------------------------------------- 160 .\" * set default formatting 161 .\" ----------------------------------------------------------------- 9 162 .\" disable hyphenation 10 163 .nh 11 164 .\" disable justification (adjust text to left margin only) 12 165 .ad l 13 .SH "NAME" 14 findsmb - list info about machines that respond to SMB name queries on a subnet 15 .SH "SYNOPSIS" 16 .HP 1 17 findsmb [subnet\ broadcast\ address] 166 .\" ----------------------------------------------------------------- 167 .\" * MAIN CONTENT STARTS HERE * 168 .\" ----------------------------------------------------------------- 169 .SH "Name" 170 findsmb \- list info about machines that respond to SMB name queries on a subnet 171 .SH "Synopsis" 172 .fam C 173 .HP \w'\ 'u 174 \FCfindsmb\F[] [subnet\ broadcast\ address] 175 .fam 18 176 .SH "DESCRIPTION" 19 177 .PP 20 178 This perl script is part of the 21 179 \fBsamba\fR(7) 22 suite\ .23 .PP 24 findsmb 25 is a perl script that prints out several pieces of information about machines on a subnet that respond to SMB name query requests\ . It uses180 suite\&. 181 .PP 182 \FCfindsmb\F[] 183 is 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 184 \fBnmblookup\fR(1) 27 185 and 28 186 \fBsmbclient\fR(1) 29 to obtain this information\ .187 to obtain this information\&. 30 188 .SH "OPTIONS" 31 189 .PP … … 33 191 .RS 4 34 192 Controls whether 35 findsmb 36 takes 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,193 \FCfindsmb\F[] 194 takes 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 195 \fBnmblookup\fR(1) 38 196 will be called with 39 197 \fB\-B\fR 40 option\ .198 option\&. 41 199 .RE 42 200 .PP … … 44 202 .RS 4 45 203 Without this option, 46 findsmb 204 \FCfindsmb \F[] 47 205 will probe the subnet of the machine where 48 206 \fBfindsmb\fR(1) 49 is run\ . This value is passed to207 is run\&. This value is passed to 50 208 \fBnmblookup\fR(1) 51 209 as part of the 52 210 \fB\-B\fR 53 option\ .211 option\&. 54 212 .RE 55 213 .SH "EXAMPLES" 56 214 .PP 57 215 The output of 58 findsmb 216 \FCfindsmb\F[] 59 217 lists the following information for all machines that respond to the initial 60 nmblookup 61 for any name: IP address, NetBIOS name, Workgroup name, operating system, and SMB server version\ .62 .PP 63 There 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\.218 \FCnmblookup\F[] 219 for any name: IP address, NetBIOS name, Workgroup name, operating system, and SMB server version\&. 220 .PP 221 There 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 222 .PP 65 223 The command with … … 67 225 option must be run on a system without 68 226 \fBnmbd\fR(8) 69 running\ . If70 nmbd 71 is 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 with227 running\&. If 228 \FCnmbd\F[] 229 is 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 230 \fB\-r\fR 73 231 option on a machine without 74 nmbd 75 running\ .232 \FCnmbd\F[] 233 running\&. 76 234 .PP 77 235 For example, running 78 findsmb 236 \FCfindsmb\F[] 79 237 without 80 238 \fB\-r\fR 81 239 option set would yield output similar to the following 82 240 .sp 241 .if n \{\ 83 242 .RS 4 243 .\} 244 .fam C 245 .ps -1 84 246 .nf 247 .if t \{\ 248 .sp -1 249 .\} 250 .BB lightgray adjust-for-leading-newline 251 .sp -1 252 85 253 IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION 86 254 \-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-\- 87 192\.168\.35\.10 MINESET\-TEST1 [DMVENGR] 88 192\.168\.35\.55 LINUXBOX *[MYGROUP] [Unix] [Samba 2\.0\.6] 89 192\.168\.35\.56 HERBNT2 [HERB\-NT] 90 192\.168\.35\.63 GANDALF [MVENGR] [Unix] [Samba 2\.0\.5a for IRIX] 91 192\.168\.35\.65 SAUNA [WORKGROUP] [Unix] [Samba 1\.9\.18p10] 92 192\.168\.35\.71 FROGSTAR [ENGR] [Unix] [Samba 2\.0\.0 for IRIX] 93 192\.168\.35\.78 HERBDHCP1 +[HERB] 94 192\.168\.35\.88 SCNT2 +[MVENGR] [Windows NT 4\.0] [NT LAN Manager 4\.0] 95 192\.168\.35\.93 FROGSTAR\-PC [MVENGR] [Windows 5\.0] [Windows 2000 LAN Manager] 96 192\.168\.35\.97 HERBNT1 *[HERB\-NT] [Windows NT 4\.0] [NT LAN Manager 4\.0] 97 .fi 255 192\&.168\&.35\&.10 MINESET\-TEST1 [DMVENGR] 256 192\&.168\&.35\&.55 LINUXBOX *[MYGROUP] [Unix] [Samba 2\&.0\&.6] 257 192\&.168\&.35\&.56 HERBNT2 [HERB\-NT] 258 192\&.168\&.35\&.63 GANDALF [MVENGR] [Unix] [Samba 2\&.0\&.5a for IRIX] 259 192\&.168\&.35\&.65 SAUNA [WORKGROUP] [Unix] [Samba 1\&.9\&.18p10] 260 192\&.168\&.35\&.71 FROGSTAR [ENGR] [Unix] [Samba 2\&.0\&.0 for IRIX] 261 192\&.168\&.35\&.78 HERBDHCP1 +[HERB] 262 192\&.168\&.35\&.88 SCNT2 +[MVENGR] [Windows NT 4\&.0] [NT LAN Manager 4\&.0] 263 192\&.168\&.35\&.93 FROGSTAR\-PC [MVENGR] [Windows 5\&.0] [Windows 2000 LAN Manager] 264 192\&.168\&.35\&.97 HERBNT1 *[HERB\-NT] [Windows NT 4\&.0] [NT LAN Manager 4\&.0] 265 .EB lightgray adjust-for-leading-newline 266 .if t \{\ 267 .sp 1 268 .\} 269 .fi 270 .fam 271 .ps +1 272 .if n \{\ 98 273 .RE 274 .\} 99 275 .SH "VERSION" 100 276 .PP 101 This man page is correct for version 3 of the Samba suite\ .277 This man page is correct for version 3 of the Samba suite\&. 102 278 .SH "SEE ALSO" 103 279 .PP … … 107 283 .SH "AUTHOR" 108 284 .PP 109 The 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 111 The 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 at112 ftp://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\.285 The 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\&. 286 .PP 287 The 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 288 ftp://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 TracChangeset
for help on using the changeset viewer.