1FINDSMB(1)                                                          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. This
23          option is disabled by default because it is specific to  Windows  95
24          and  Windows  95  machines only. If set, nmblookup(1) will be called
25          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 Work‐
41       groups, Windows 95 or Windows 98 will not show  any  information  about
42       the operating system or server version.
43
44       The command with -r option must be run on a system without nmbd(8) run‐
45       ning. 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
54       IP ADDR         NETBIOS NAME   WORKGROUP/OS/VERSION
55       ---------------------------------------------------------------------
56       192.168.35.10   MINESET-TEST1  [DMVENGR]
57       192.168.35.55   LINUXBOX      *[MYGROUP] [Unix] [Samba 2.0.6]
58       192.168.35.56   HERBNT2        [HERB-NT]
59       192.168.35.63   GANDALF        [MVENGR] [Unix] [Samba 2.0.5a for IRIX]
60       192.168.35.65   SAUNA          [WORKGROUP] [Unix] [Samba 1.9.18p10]
61       192.168.35.71   FROGSTAR       [ENGR] [Unix] [Samba 2.0.0 for IRIX]
62       192.168.35.78   HERBDHCP1     +[HERB]
63       192.168.35.88   SCNT2         +[MVENGR] [Windows NT 4.0] [NT LAN Manager 4.0]
64       192.168.35.93   FROGSTAR-PC    [MVENGR] [Windows 5.0] [Windows 2000 LAN Manager]
65       192.168.35.97   HERBNT1       *[HERB-NT] [Windows NT 4.0] [NT LAN Manager 4.0]
66
67

VERSION

69       This man page is correct for version 3.0 of the Samba suite.
70

SEE ALSO

72       nmbd(8), smbclient(1), and nmblookup(1)
73

AUTHOR

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