1FINDSMB(1)                       User Commands                      FINDSMB(1)
2
3
4

NAME

6       findsmb - list info about machines that respond to SMB name queries on
7       a subnet
8

SYNOPSIS

10       findsmb [subnet broadcast address]
11

DESCRIPTION

13       This perl script is part of the samba(7) suite.
14
15       findsmb is a perl script that prints out several pieces of information
16       about machines on a subnet that respond to SMB name query requests. It
17       uses nmblookup(1) and smbclient(1) to obtain this information.
18

OPTIONS

20       -r
21           Controls whether findsmb takes bugs in Windows95 into account when
22           trying to find a Netbios name registered of the remote machine.
23           This option is disabled by default because it is specific to
24           Windows 95 and Windows 95 machines only. If set, nmblookup(1) will
25           be called with -B option.
26
27       subnet broadcast address
28           Without this option, findsmb will probe the subnet of the machine
29           where findsmb(1) is run. This value is passed to nmblookup(1) as
30           part of the -B option.
31

EXAMPLES

33       The output of findsmb lists the following information for all machines
34       that respond to the initial nmblookup for any name: IP address, NetBIOS
35       name, Workgroup name, operating system, and SMB server version.
36
37       There will be a '+' in front of the workgroup name for machines that
38       are local master browsers for that workgroup. There will be an '*' in
39       front of the workgroup name for machines that are the domain master
40       browser for that workgroup. Machines that are running Windows for
41       Workgroups, Windows 95 or Windows 98 will not show any information
42       about the operating system or server version.
43
44       The command with -r option must be run on a system without nmbd(8)
45       running. If nmbd is running on the system, you will only get the IP
46       address and the DNS name of the machine. To get proper responses from
47       Windows 95 and Windows 98 machines, the command must be run as root and
48       with -r option on a machine without nmbd running.
49
50       For example, running findsmb without -r option set would yield output
51       similar to the following
52
53           IP ADDR         NETBIOS NAME   WORKGROUP/OS/VERSION
54           ---------------------------------------------------------------------
55           192.168.35.10   MINESET-TEST1  [DMVENGR]
56           192.168.35.55   LINUXBOX      *[MYGROUP] [Unix] [Samba 2.0.6]
57           192.168.35.56   HERBNT2        [HERB-NT]
58           192.168.35.63   GANDALF        [MVENGR] [Unix] [Samba 2.0.5a for IRIX]
59           192.168.35.65   SAUNA          [WORKGROUP] [Unix] [Samba 1.9.18p10]
60           192.168.35.71   FROGSTAR       [ENGR] [Unix] [Samba 2.0.0 for IRIX]
61           192.168.35.78   HERBDHCP1     +[HERB]
62           192.168.35.88   SCNT2         +[MVENGR] [Windows NT 4.0] [NT LAN Manager 4.0]
63           192.168.35.93   FROGSTAR-PC    [MVENGR] [Windows 5.0] [Windows 2000 LAN Manager]
64           192.168.35.97   HERBNT1       *[HERB-NT] [Windows NT 4.0] [NT LAN Manager 4.0]
65

VERSION

67       This man page is correct for version 3 of the Samba suite.
68

SEE ALSO

70       nmbd(8), smbclient(1), and nmblookup(1)
71

AUTHOR

73       The original Samba software and related utilities were created by
74       Andrew Tridgell. Samba is now developed by the Samba Team as an Open
75       Source project similar to the way the Linux kernel is developed.
76
77       The original Samba man pages were written by Karl Auer. The man page
78       sources were converted to YODL format (another excellent piece of Open
79       Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and
80       updated for the Samba 2.0 release by Jeremy Allison. The conversion to
81       DocBook for Samba 2.2 was done by Gerald Carter. The conversion to
82       DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy.
83
84
85
86Samba 3.6                         04/11/2016                        FINDSMB(1)
Impressum