| [596] | 1 | '\" t
|
|---|
| [429] | 2 | .\" Title: findsmb
|
|---|
| 3 | .\" Author: [see the "AUTHOR" section]
|
|---|
| [596] | 4 | .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
|---|
| [620] | 5 | .\" Date: 08/02/2011
|
|---|
| [429] | 6 | .\" Manual: User Commands
|
|---|
| 7 | .\" Source: Samba 3.5
|
|---|
| 8 | .\" Language: English
|
|---|
| 9 | .\"
|
|---|
| [620] | 10 | .TH "FINDSMB" "1" "08/02/2011" "Samba 3\&.5" "User Commands"
|
|---|
| [429] | 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 | .\" -----------------------------------------------------------------
|
|---|
| [596] | 21 | .SH "NAME"
|
|---|
| [429] | 22 | findsmb \- list info about machines that respond to SMB name queries on a subnet
|
|---|
| [596] | 23 | .SH "SYNOPSIS"
|
|---|
| [429] | 24 | .HP \w'\ 'u
|
|---|
| [596] | 25 | findsmb [subnet\ broadcast\ address]
|
|---|
| [429] | 26 | .SH "DESCRIPTION"
|
|---|
| 27 | .PP
|
|---|
| 28 | This perl script is part of the
|
|---|
| 29 | \fBsamba\fR(7)
|
|---|
| 30 | suite\&.
|
|---|
| 31 | .PP
|
|---|
| [596] | 32 | findsmb
|
|---|
| [429] | 33 | 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
|
|---|
| 34 | \fBnmblookup\fR(1)
|
|---|
| 35 | and
|
|---|
| 36 | \fBsmbclient\fR(1)
|
|---|
| 37 | to obtain this information\&.
|
|---|
| 38 | .SH "OPTIONS"
|
|---|
| 39 | .PP
|
|---|
| 40 | \-r
|
|---|
| 41 | .RS 4
|
|---|
| 42 | Controls whether
|
|---|
| [596] | 43 | findsmb
|
|---|
| [429] | 44 | 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,
|
|---|
| 45 | \fBnmblookup\fR(1)
|
|---|
| 46 | will be called with
|
|---|
| 47 | \fB\-B\fR
|
|---|
| 48 | option\&.
|
|---|
| 49 | .RE
|
|---|
| 50 | .PP
|
|---|
| 51 | subnet broadcast address
|
|---|
| 52 | .RS 4
|
|---|
| 53 | Without this option,
|
|---|
| [596] | 54 | findsmb
|
|---|
| [429] | 55 | will probe the subnet of the machine where
|
|---|
| 56 | \fBfindsmb\fR(1)
|
|---|
| 57 | is run\&. This value is passed to
|
|---|
| 58 | \fBnmblookup\fR(1)
|
|---|
| 59 | as part of the
|
|---|
| 60 | \fB\-B\fR
|
|---|
| 61 | option\&.
|
|---|
| 62 | .RE
|
|---|
| 63 | .SH "EXAMPLES"
|
|---|
| 64 | .PP
|
|---|
| 65 | The output of
|
|---|
| [596] | 66 | findsmb
|
|---|
| [429] | 67 | lists the following information for all machines that respond to the initial
|
|---|
| [596] | 68 | nmblookup
|
|---|
| [429] | 69 | for any name: IP address, NetBIOS name, Workgroup name, operating system, and SMB server version\&.
|
|---|
| |
|---|