diff options
Diffstat (limited to 'docs/htmldocs/nmbd.8.html')
-rw-r--r-- | docs/htmldocs/nmbd.8.html | 118 |
1 files changed, 59 insertions, 59 deletions
diff --git a/docs/htmldocs/nmbd.8.html b/docs/htmldocs/nmbd.8.html index b07267fa45..c282bde89d 100644 --- a/docs/htmldocs/nmbd.8.html +++ b/docs/htmldocs/nmbd.8.html @@ -1,76 +1,76 @@ -<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>nmbd</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.59.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="nmbd.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>nmbd — NetBIOS name server to provide NetBIOS - over IP naming services to clients</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt>nmbd</tt> [-D] [-F] [-S] [-a] [-i] [-o] [-h] [-V] [-d <debug level>] [-H <lmhosts file>] [-l <log directory>] [-n <primary netbios name>] [-p <port number>] [-s <configuration file>]</p></div></div><div class="refsect1" lang="en"><h2>DESCRIPTION</h2><p>This program is part of the <a href="Samba.7.html">Samba(7)</a> suite.</p><p><b>nmbd</b> is a server that understands +<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>nmbd</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="nmbd.8"></a><div class="titlepage"><div></div><div></div></div><div class="refnamediv"><h2>Name</h2><p>nmbd — NetBIOS name server to provide NetBIOS + over IP naming services to clients</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><tt class="command">nmbd</tt> [-D] [-F] [-S] [-a] [-i] [-o] [-h] [-V] [-d <debug level>] [-H <lmhosts file>] [-l <log directory>] [-n <primary netbios name>] [-p <port number>] [-s <configuration file>]</p></div></div><div class="refsect1" lang="en"><h2>DESCRIPTION</h2><p>This program 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">nmbd</b> is a server that understands and can reply to NetBIOS over IP name service requests, like those produced by SMB/CIFS clients such as Windows 95/98/ME, Windows NT, Windows 2000, Windows XP and LanManager clients. It also participates in the browsing protocols which make up the Windows "Network Neighborhood" view.</p><p>SMB/CIFS clients, when they start up, may wish to locate an SMB/CIFS server. That is, they wish to know what - IP number a specified host is using.</p><p>Amongst other services, <b>nmbd</b> will + IP number a specified host is using.</p><p>Amongst other services, <b class="command">nmbd</b> will listen for such requests, and if its own NetBIOS name is specified it will respond with the IP number of the host it is running on. Its "own NetBIOS name" is by default the primary DNS name of the host it is running on, but this can be overridden with the <span class="emphasis"><em>-n</em></span> - option (see OPTIONS below). Thus <b>nmbd</b> will + option (see OPTIONS below). Thus <b class="command">nmbd</b> will reply to broadcast queries for its own name(s). Additional - names for <b>nmbd</b> to respond on can be set - via parameters in the <a href="smb.conf.5.html">smb.conf(5)</a> configuration file.</p><p><b>nmbd</b> can also be used as a WINS + names for <b class="command">nmbd</b> to respond on can be set + via parameters in the <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> configuration file.</p><p><b class="command">nmbd</b> can also be used as a WINS (Windows Internet Name Server) server. What this basically means is that it will act as a WINS database server, creating a database from name registration requests that it receives and - replying to queries from clients for these names.</p><p>In addition, <b>nmbd</b> can act as a WINS + replying to queries from clients for these names.</p><p>In addition, <b class="command">nmbd</b> can act as a WINS proxy, relaying broadcast queries from clients that do not understand how to talk the WINS protocol to a WINS server.</p></div><div class="refsect1" lang="en"><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-D</span></dt><dd><p>If specified, this parameter causes - <b>nmbd</b> to operate as a daemon. That is, + <b class="command">nmbd</b> to operate as a daemon. That is, it detaches itself and runs in the background, fielding - requests on the appropriate port. By default, <b>nmbd</b> + requests on the appropriate port. By default, <b class="command">nmbd</b> will operate as a daemon if launched from a command shell. - nmbd can also be operated from the <b>inetd</b> + nmbd can also be operated from the <b class="command">inetd</b> meta-daemon, although this is not recommended. </p></dd><dt><span class="term">-F</span></dt><dd><p>If specified, this parameter causes - the main <b>nmbd</b> process to not daemonize, + the main <b class="command">nmbd</b> process to not daemonize, i.e. double-fork and disassociate with the terminal. Child processes are still created as normal to service each connection request, but the main process does not exit. This operation mode is suitable for running - <b>nmbd</b> under process supervisors such - as <b>supervise</b> and <b>svscan</b> - from Daniel J. Bernstein's <b>daemontools</b> + <b class="command">nmbd</b> under process supervisors such + as <b class="command">supervise</b> and <b class="command">svscan</b> + from Daniel J. Bernstein's <b class="command">daemontools</b> package, or the AIX process monitor. </p></dd><dt><span class="term">-S</span></dt><dd><p>If specified, this parameter causes - <b>nmbd</b> to log to standard output rather + <b class="command">nmbd</b> to log to standard output rather than a file.</p></dd><dt><span class="term">-i</span></dt><dd><p>If this parameter is specified it causes the server to run "interactively", not as a daemon, even if the server is executed on the command line of a shell. Setting this parameter negates the implicit daemon mode when run from the - command line. <b>nmbd</b> also logs to standard - output, as if the <tt>-S</tt> parameter had been + command line. <b class="command">nmbd</b> also logs to standard + output, as if the <tt class="constant">-S</tt> parameter had been given. </p></dd><dt><span class="term">-h|--help</span></dt><dd><p>Print a summary of command line options. </p></dd><dt><span class="term">-H <filename></span></dt><dd><p>NetBIOS lmhosts file. The lmhosts file is a list of NetBIOS names to IP addresses that is loaded by the nmbd server and used via the name - resolution mechanism <a href="smb.conf.5.html#nameresolveorder" target="_top"><i><tt>name resolve - order</tt></i></a> described in <a href="smb.conf.5.html">smb.conf(5)</a> to resolve any + resolution mechanism <a href="smb.conf.5.html#nameresolveorder" target="_top"><i class="parameter"><tt>name resolve + order</tt></i></a> described in <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> to resolve any NetBIOS name queries needed by the server. Note that the contents of this file are <span class="emphasis"><em>NOT</em></span> - used by <b>nmbd</b> to answer any name queries. + used by <b class="command">nmbd</b> to answer any name queries. Adding a line to this file affects name NetBIOS resolution from this host <span class="emphasis"><em>ONLY</em></span>.</p><p>The default path to this file is compiled into Samba as part of the build process. Common defaults - are <tt>/usr/local/samba/lib/lmhosts</tt>, - <tt>/usr/samba/lib/lmhosts</tt> or - <tt>/etc/samba/lmhosts</tt>. See the <a href="lmhosts.5.html">lmhosts(5)</a> man page for details on the contents of this file.</p></dd><dt><span class="term">-V</span></dt><dd><p>Prints the version number for -<b>smbd</b>.</p></dd><dt><span class="term">-s <configuration file></span></dt><dd><p>The file specified contains the + are <tt class="filename">/usr/local/samba/lib/lmhosts</tt>, + <tt class="filename">/usr/samba/lib/lmhosts</tt> or + <tt class="filename">/etc/samba/lmhosts</tt>. See the <a href="lmhosts.5.html"><span class="citerefentry"><span class="refentrytitle">lmhosts</span>(5)</span></a> man page for details on the contents of this file.</p></dd><dt><span class="term">-V</span></dt><dd><p>Prints the version number for +<b class="command">smbd</b>.</p></dd><dt><span class="term">-s <configuration file></span></dt><dd><p>The file specified contains the configuration details required by the server. The information in this file includes server-specific information such as what printcap file to use, as well as descriptions of all the services that the server is -to provide. See <a href="smb.conf.5.html" target="_top"><tt> +to provide. See <a href="smb.conf.5.html" target="_top"><tt class="filename"> smb.conf(5)</tt></a> for more information. The default configuration file name is determined at -compile time.</p></dd><dt><span class="term">-d|--debug=debuglevel</span></dt><dd><p><i><tt>debuglevel</tt></i> is an integer +compile time.</p></dd><dt><span class="term">-d|--debug=debuglevel</span></dt><dd><p><i class="replaceable"><tt>debuglevel</tt></i> is an integer from 0 to 10. The default value if this parameter is not specified is zero.</p><p>The higher this value, the more detail will be logged to the log files about the activities of the @@ -84,61 +84,61 @@ use only by developers and generate HUGE amounts of log data, most of which is extremely cryptic.</p><p>Note that specifying this parameter here will override the <a href="smb.conf.5.html#loglevel" target="_top">log level</a> parameter in the <a href="smb.conf.5.html" target="_top"> -<tt>smb.conf(5)</tt></a> file.</p></dd><dt><span class="term">-l|--logfile=logbasename</span></dt><dd><p>File name for log/debug files. The extension -<tt>".client"</tt> will be appended. The log file is +<tt class="filename">smb.conf(5)</tt></a> file.</p></dd><dt><span class="term">-l|--logfile=logbasename</span></dt><dd><p>File name for log/debug files. The extension +<tt class="constant">".client"</tt> will be appended. The log file is never removed by the client. </p></dd><dt><span class="term">-p <UDP port number></span></dt><dd><p>UDP port number is a positive integer value. This option changes the default UDP port number (normally 137) - that <b>nmbd</b> responds to name queries on. Don't + that <b class="command">nmbd</b> responds to name queries on. Don't use this option unless you are an expert, in which case you - won't need help!</p></dd></dl></div></div><div class="refsect1" lang="en"><h2>FILES</h2><div class="variablelist"><dl><dt><span class="term"><tt>/etc/inetd.conf</tt></span></dt><dd><p>If the server is to be run by the - <b>inetd</b> meta-daemon, this file + won't need help!</p></dd></dl></div></div><div class="refsect1" lang="en"><h2>FILES</h2><div class="variablelist"><dl><dt><span class="term"><tt class="filename">/etc/inetd.conf</tt></span></dt><dd><p>If the server is to be run by the + <b class="command">inetd</b> meta-daemon, this file must contain suitable startup information for the meta-daemon. See the <a href="install.html" target="_top">install</a> document for details. - </p></dd><dt><span class="term"><tt>/etc/rc</tt></span></dt><dd><p>or whatever initialization script your + </p></dd><dt><span class="term"><tt class="filename">/etc/rc</tt></span></dt><dd><p>or whatever initialization script your system uses).</p><p>If running the server as a daemon at startup, this file will need to contain an appropriate startup sequence for the server. See the <a href="install.html" target="_top">"How to Install and Test SAMBA"</a> document - for details.</p></dd><dt><span class="term"><tt>/etc/services</tt></span></dt><dd><p>If running the server via the - meta-daemon <b>inetd</b>, this file + for details.</p></dd><dt><span class="term"><tt class="filename">/etc/services</tt></span></dt><dd><p>If running the server via the + meta-daemon <b class="command">inetd</b>, this file must contain a mapping of service name (e.g., netbios-ssn) to service port (e.g., 139) and protocol type (e.g., tcp). See the <a href="install.html" target="_top">"How to Install and Test SAMBA"</a> - document for details.</p></dd><dt><span class="term"><tt>/usr/local/samba/lib/smb.conf</tt></span></dt><dd><p>This is the default location of - the <a href="smb.conf.5.html">smb.conf(5)</a> server + document for details.</p></dd><dt><span class="term"><tt class="filename">/usr/local/samba/lib/smb.conf</tt></span></dt><dd><p>This is the default location of + the <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> server configuration file. Other common places that systems - install this file are <tt>/usr/samba/lib/smb.conf</tt> - and <tt>/etc/samba/smb.conf</tt>.</p><p>When run as a WINS server (see the - <a href="smb.conf.5.html#WINSSUPPORT" target="_top"><tt>wins support</tt></a> - parameter in the <a href="smb.conf.5.html">smb.conf(5)</a> man page), - <b>nmbd</b> - will store the WINS database in the file <tt>wins.dat</tt> - in the <tt>var/locks</tt> directory configured under - wherever Samba was configured to install itself.</p><p>If <b>nmbd</b> is acting as a <span class="emphasis"><em> - browse master</em></span> (see the <a href="smb.conf.5.html#LOCALMASTER" target="_top"><tt>local master</tt></a> - parameter in the <a href="smb.conf.5.html">smb.conf(5)</a> man page, <b>nmbd</b> - will store the browsing database in the file <tt>browse.dat - </tt> in the <tt>var/locks</tt> directory + install this file are <tt class="filename">/usr/samba/lib/smb.conf</tt> + and <tt class="filename">/etc/samba/smb.conf</tt>.</p><p>When run as a WINS server (see the + <a href="smb.conf.5.html#WINSSUPPORT" target="_top"><tt class="constant">wins support</tt></a> + parameter in the <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> man page), + <b class="command">nmbd</b> + will store the WINS database in the file <tt class="filename">wins.dat</tt> + in the <tt class="filename">var/locks</tt> directory configured under + wherever Samba was configured to install itself.</p><p>If <b class="command">nmbd</b> is acting as a <span class="emphasis"><em> + browse master</em></span> (see the <a href="smb.conf.5.html#LOCALMASTER" target="_top"><tt class="constant">local master</tt></a> + parameter in the <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a> man page, <b class="command">nmbd</b> + will store the browsing database in the file <tt class="filename">browse.dat + </tt> in the <tt class="filename">var/locks</tt> directory configured under wherever Samba was configured to install itself. - </p></dd></dl></div></div><div class="refsect1" lang="en"><h2>SIGNALS</h2><p>To shut down an <b>nmbd</b> process it is recommended + </p></dd></dl></div></div><div class="refsect1" lang="en"><h2>SIGNALS</h2><p>To shut down an <b class="command">nmbd</b> process it is recommended that SIGKILL (-9) <span class="emphasis"><em>NOT</em></span> be used, except as a last resort, as this may leave the name database in an inconsistent state. - The correct way to terminate <b>nmbd</b> is to send it - a SIGTERM (-15) signal and wait for it to die on its own.</p><p><b>nmbd</b> will accept SIGHUP, which will cause - it to dump out its namelists into the file <tt>namelist.debug - </tt> in the <tt>/usr/local/samba/var/locks</tt> - directory (or the <tt>var/locks</tt> directory configured + The correct way to terminate <b class="command">nmbd</b> is to send it + a SIGTERM (-15) signal and wait for it to die on its own.</p><p><b class="command">nmbd</b> will accept SIGHUP, which will cause + it to dump out its namelists into the file <tt class="filename">namelist.debug + </tt> in the <tt class="filename">/usr/local/samba/var/locks</tt> + directory (or the <tt class="filename">var/locks</tt> directory configured under wherever Samba was configured to install itself). This will also - cause <b>nmbd</b> to dump out its server database in - the <tt>log.nmb</tt> file.</p><p>The debug log level of nmbd may be raised or lowered - using <a href="smbcontrol.1.html">smbcontrol(1)</a> (SIGUSR[1|2] signals + cause <b class="command">nmbd</b> to dump out its server database in + the <tt class="filename">log.nmb</tt> file.</p><p>The debug log level of nmbd may be raised or lowered + using <a href="smbcontrol.1.html"><span class="citerefentry"><span class="refentrytitle">smbcontrol</span>(1)</span></a> (SIGUSR[1|2] signals are no longer used since Samba 2.2). This is to allow transient problems to be diagnosed, whilst still running at a normally low log level.</p></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="inetd.8.html">inetd(8)</a>, <a href="smbd.8.html">smbd(8)</a>, <a href="smb.conf.5.html">smb.conf(5)</a>, <a href="smbclient.1.html">smbclient(1)</a>, <a href="testparm.1.html">testparm(1)</a>, <a href="testprns.1.html">testprns(1)</a>, and the Internet - RFC's <tt>rfc1001.txt</tt>, <tt>rfc1002.txt</tt>. + <a href="inetd.8.html"><span class="citerefentry"><span class="refentrytitle">inetd</span>(8)</span></a>, <a href="smbd.8.html"><span class="citerefentry"><span class="refentrytitle">smbd</span>(8)</span></a>, <a href="smb.conf.5.html"><span class="citerefentry"><span class="refentrytitle">smb.conf</span>(5)</span></a>, <a href="smbclient.1.html"><span class="citerefentry"><span class="refentrytitle">smbclient</span>(1)</span></a>, <a href="testparm.1.html"><span class="citerefentry"><span class="refentrytitle">testparm</span>(1)</span></a>, <a href="testprns.1.html"><span class="citerefentry"><span class="refentrytitle">testprns</span>(1)</span></a>, and the Internet + RFC's <tt class="filename">rfc1001.txt</tt>, <tt class="filename">rfc1002.txt</tt>. In addition the CIFS (formerly SMB) specification is available as a link from the Web page <a href="http://samba.org/cifs/" target="_top"> http://samba.org/cifs/</a>.</p></div><div class="refsect1" lang="en"><h2>AUTHOR</h2><p>The original Samba software and related utilities |