| 1 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>smbtree</title><link rel="stylesheet" href="../samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.74.0"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="smbtree.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>smbtree — A text based smb network browser
|
|---|
| 2 | </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="literal">smbtree</code> [-b] [-D] [-S]</p></div></div><div class="refsect1" lang="en"><a name="id2522950"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a class="citerefentry" href="samba.7.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(7)</span></a> suite.</p><p><code class="literal">smbtree</code> is a smb browser program
|
|---|
| 3 | in text mode. It is similar to the "Network Neighborhood" found
|
|---|
| 4 | on Windows computers. It prints a tree with all
|
|---|
| 5 | the known domains, the servers in those domains and
|
|---|
| 6 | the shares on the servers.
|
|---|
| 7 | </p></div><div class="refsect1" lang="en"><a name="id2483353"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-b</span></dt><dd><p>Query network nodes by sending requests
|
|---|
| 8 | as broadcasts instead of querying the local master browser.
|
|---|
| 9 | </p></dd><dt><span class="term">-D</span></dt><dd><p>Only print a list of all
|
|---|
| 10 | the domains known on broadcast or by the
|
|---|
| 11 | master browser</p></dd><dt><span class="term">-S</span></dt><dd><p>Only print a list of
|
|---|
| 12 | all the domains and servers responding on broadcast or
|
|---|
| 13 | known by the master browser.
|
|---|
| 14 | </p></dd><dt><span class="term">-d|--debuglevel=level</span></dt><dd><p><em class="replaceable"><code>level</code></em> is an integer
|
|---|
| 15 | from 0 to 10. The default value if this parameter is
|
|---|
| 16 | not specified is 0.</p><p>The higher this value, the more detail will be
|
|---|
| 17 | logged to the log files about the activities of the
|
|---|
| 18 | server. At level 0, only critical errors and serious
|
|---|
| 19 | warnings will be logged. Level 1 is a reasonable level for
|
|---|
| 20 | day-to-day running - it generates a small amount of
|
|---|
| 21 | information about operations carried out.</p><p>Levels above 1 will generate considerable
|
|---|
| 22 | amounts of log data, and should only be used when
|
|---|
| 23 | investigating a problem. Levels above 3 are designed for
|
|---|
| 24 | use only by developers and generate HUGE amounts of log
|
|---|
| 25 | data, most of which is extremely cryptic.</p><p>Note that specifying this parameter here will
|
|---|
| 26 | override the <a class="link" href="smb.conf.5.html#LOGLEVEL" target="_top">log level</a> parameter
|
|---|
| 27 | in the <code class="filename">smb.conf</code> file.</p></dd><dt><span class="term">-V</span></dt><dd><p>Prints the program version number.
|
|---|
| 28 | </p></dd><dt><span class="term">-s <configuration file></span></dt><dd><p>The file specified contains the
|
|---|
| 29 | configuration details required by the server. The
|
|---|
| 30 | information in this file includes server-specific
|
|---|
| 31 | information such as what printcap file to use, as well
|
|---|
| 32 | as descriptions of all the services that the server is
|
|---|
| 33 | to provide. See <code class="filename">smb.conf</code> for more information.
|
|---|
| 34 | The default configuration file name is determined at
|
|---|
| 35 | compile time.</p></dd><dt><span class="term">-l|--log-basename=logdirectory</span></dt><dd><p>Base directory name for log/debug files. The extension
|
|---|
| 36 | <code class="constant">".progname"</code> will be appended (e.g. log.smbclient,
|
|---|
| 37 | log.smbd, etc...). The log file is never removed by the client.
|
|---|
|
|---|