mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
f7e07eafc8
- Fix db2latex (it depended on the $Id$ tags)
- Fix CUPS-Printing syntax
- Update instructions in docbook.txt
(This used to be commit 8d7c96a4e2
)
62 lines
5.8 KiB
HTML
62 lines
5.8 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>findsmb</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.60.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="findsmb.1"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p>findsmb — list info about machines that respond to SMB
|
|
name queries on a subnet</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt class="command">findsmb</tt> [subnet broadcast address]</p></div></div><div class="refsect1" lang="en"><h2>DESCRIPTION</h2><p>This perl script is part of the <a href="Samba.7.html"><span class="citerefentry"><span class="refentrytitle">Samba</span>(7)</span></a>
|
|
suite.</p><p><b class="command">findsmb</b> 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 <a href="nmblookup.1.html"><span class="citerefentry"><span class="refentrytitle">nmblookup</span>(1)</span></a>
|
|
and <a href="smbclient.1.html"><span class="citerefentry"><span class="refentrytitle">smbclient</span>(1)</span></a>
|
|
to obtain this information.
|
|
</p></div><div class="refsect1" lang="en"><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-r</span></dt><dd><p>Controls whether <b class="command">findsmb</b> 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, <a href="nmblookup.1.html"><span class="citerefentry"><span class="refentrytitle">nmblookup</span>(1)</span></a>
|
|
will be called with <tt class="constant">-B</tt> option.</p></dd><dt><span class="term">subnet broadcast address</span></dt><dd><p>Without this option, <b class="command">findsmb
|
|
</b> will probe the subnet of the machine where
|
|
<a href="findsmb.1.html"><span class="citerefentry"><span class="refentrytitle">findsmb</span>(1)</span></a>
|
|
is run. This value is passed to
|
|
<a href="nmblookup.1.html"><span class="citerefentry"><span class="refentrytitle">nmblookup</span>(1)</span></a>
|
|
as part of the <tt class="constant">-B</tt> option.</p></dd></dl></div></div><div class="refsect1" lang="en"><h2>EXAMPLES</h2><p>The output of <b class="command">findsmb</b> lists the following
|
|
information for all machines that respond to the initial
|
|
<b class="command">nmblookup</b> for any name: IP address, NetBIOS name,
|
|
Workgroup name, operating system, and SMB server version.</p><p>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, Windows 95 or Windows 98 will
|
|
not show any information about the operating system or server
|
|
version.</p><p>The command with <tt class="constant">-r</tt> option
|
|
must be run on a system without <a href="nmbd.8.html"><span class="citerefentry"><span class="refentrytitle">nmbd</span>(8)</span></a> running.
|
|
|
|
If <b class="command">nmbd</b> 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 <tt class="constant">-r</tt>
|
|
option on a machine without <b class="command">nmbd</b> running.</p><p>For example, running <b class="command">findsmb</b>
|
|
without <tt class="constant">-r</tt> option set would yield output similar
|
|
to the following</p><pre class="screen">
|
|
IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
|
|
---------------------------------------------------------------------
|
|
192.168.35.10 MINESET-TEST1 [DMVENGR]
|
|
192.168.35.55 LINUXBOX *[MYGROUP] [Unix] [Samba 2.0.6]
|
|
192.168.35.56 HERBNT2 [HERB-NT]
|
|
192.168.35.63 GANDALF [MVENGR] [Unix] [Samba 2.0.5a for IRIX]
|
|
192.168.35.65 SAUNA [WORKGROUP] [Unix] [Samba 1.9.18p10]
|
|
192.168.35.71 FROGSTAR [ENGR] [Unix] [Samba 2.0.0 for IRIX]
|
|
192.168.35.78 HERBDHCP1 +[HERB]
|
|
192.168.35.88 SCNT2 +[MVENGR] [Windows NT 4.0] [NT LAN Manager 4.0]
|
|
192.168.35.93 FROGSTAR-PC [MVENGR] [Windows 5.0] [Windows 2000 LAN Manager]
|
|
192.168.35.97 HERBNT1 *[HERB-NT] [Windows NT 4.0] [NT LAN Manager 4.0]
|
|
</pre></div><div class="refsect1" lang="en"><h2>VERSION</h2><p>This man page is correct for version 3.0 of
|
|
the Samba suite.</p></div><div class="refsect1" lang="en"><h2>SEE ALSO</h2><p><a href="nmbd.8.html"><span class="citerefentry"><span class="refentrytitle">nmbd</span>(8)</span></a>,
|
|
<a href="smbclient.1.html"><span class="citerefentry"><span class="refentrytitle">smbclient</span>(1)</span></a>, and <a href="nmblookup.1.html"><span class="citerefentry"><span class="refentrytitle">nmblookup</span>(1)</span></a>
|
|
</p></div><div class="refsect1" lang="en"><h2>AUTHOR</h2><p>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.</p><p>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 <a href="ftp://ftp.icce.rug.nl/pub/unix/" target="_top">ftp://ftp.icce.rug.nl/pub/unix/</a>)
|
|
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.</p></div></div></body></html>
|