summaryrefslogtreecommitdiff
path: root/docs/htmldocs/nmbd.8.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/htmldocs/nmbd.8.html')
-rw-r--r--docs/htmldocs/nmbd.8.html470
1 files changed, 256 insertions, 214 deletions
diff --git a/docs/htmldocs/nmbd.8.html b/docs/htmldocs/nmbd.8.html
index 6b8161e02e..1183a14522 100644
--- a/docs/htmldocs/nmbd.8.html
+++ b/docs/htmldocs/nmbd.8.html
@@ -1,11 +1,12 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML
><HEAD
><TITLE
>nmbd</TITLE
><META
NAME="GENERATOR"
-CONTENT="Modular DocBook HTML Stylesheet Version 1.7"></HEAD
+CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
+"></HEAD
><BODY
CLASS="REFENTRY"
BGCOLOR="#FFFFFF"
@@ -15,9 +16,7 @@ VLINK="#840084"
ALINK="#0000FF"
><H1
><A
-NAME="NMBD.8"
-></A
->nmbd</H1
+NAME="NMBD">nmbd</H1
><DIV
CLASS="REFNAMEDIV"
><A
@@ -30,15 +29,13 @@ NAME="AEN5"
><DIV
CLASS="REFSYNOPSISDIV"
><A
-NAME="AEN8"
-></A
-><H2
+NAME="AEN8"><H2
>Synopsis</H2
><P
><B
CLASS="COMMAND"
>nmbd</B
-> [-D] [-F] [-S] [-a] [-i] [-o] [-h] [-V] [-d &#60;debug level&#62;] [-H &#60;lmhosts file&#62;] [-l &#60;log directory&#62;] [-n &#60;primary netbios name&#62;] [-p &#60;port number&#62;] [-s &#60;configuration file&#62;]</P
+> [-D] [-F] [-S] [-a] [-i] [-o] [-h] [-V] [-d &#60;debug level&#62;] [-H &#60;lmhosts file&#62;] [-l &#60;log directory&#62;] [-n &#60;primary netbios name&#62;] [-p &#60;port number&#62;] [-s &#60;configuration file&#62;]</P
></DIV
><DIV
CLASS="REFSECT1"
@@ -48,13 +45,7 @@ NAME="AEN25"
><H2
>DESCRIPTION</H2
><P
->This program is part of the <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->Samba</SPAN
->(7)</SPAN
-> suite.</P
+>This program is part of the Samba suite.</P
><P
><B
CLASS="COMMAND"
@@ -78,12 +69,9 @@ CLASS="COMMAND"
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"
-><I
+ but this can be overridden with the <I
CLASS="EMPHASIS"
>-n</I
-></SPAN
>
option (see OPTIONS below). Thus <B
CLASS="COMMAND"
@@ -94,12 +82,13 @@ CLASS="COMMAND"
CLASS="COMMAND"
>nmbd</B
> to respond on can be set
- via parameters in the <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->smb.conf</SPAN
->(5)</SPAN
+ via parameters in the <A
+HREF="smb.conf.5.html"
+TARGET="_top"
+><TT
+CLASS="FILENAME"
+> smb.conf(5)</TT
+></A
> configuration file.</P
><P
><B
@@ -122,7 +111,7 @@ CLASS="COMMAND"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN46"
+NAME="AEN42"
></A
><H2
>OPTIONS</H2
@@ -196,6 +185,14 @@ CLASS="COMMAND"
than a file.</P
></DD
><DT
+>-a</DT
+><DD
+><P
+>If this parameter is specified, each new
+ connection will append log messages to the log file.
+ This is the default.</P
+></DD
+><DT
>-i</DT
><DD
><P
@@ -207,17 +204,33 @@ CLASS="COMMAND"
CLASS="COMMAND"
>nmbd</B
> also logs to standard
- output, as if the <CODE
-CLASS="CONSTANT"
->-S</CODE
+ output, as if the <B
+CLASS="COMMAND"
+>-S</B
> parameter had been
given. </P
></DD
><DT
->-h|--help</DT
+>-o</DT
><DD
><P
->Print a summary of command line options.</P
+>If this parameter is specified, the
+ log files will be overwritten when opened. By default,
+ <B
+CLASS="COMMAND"
+>smbd</B
+> will append entries to the log
+ files.</P
+></DD
+><DT
+>-h</DT
+><DD
+><P
+>Prints the help information (usage)
+ for <B
+CLASS="COMMAND"
+>nmbd</B
+>.</P
></DD
><DT
>-H &#60;filename&#62;</DT
@@ -229,37 +242,28 @@ CLASS="CONSTANT"
resolution mechanism <A
HREF="smb.conf.5.html#nameresolveorder"
TARGET="_top"
-><VAR
-CLASS="PARAMETER"
->name resolve
- order</VAR
+> name resolve order</A
+> described in <A
+HREF="smb.conf.5.html"
+TARGET="_top"
+> <TT
+CLASS="FILENAME"
+>smb.conf(5)</TT
></A
-> described in <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->smb.conf</SPAN
->(5)</SPAN
-> to resolve any
- NetBIOS name queries needed by the server. Note
- that the contents of this file are <SPAN
-CLASS="emphasis"
-><I
+>
+ to resolve any NetBIOS name queries needed by the server. Note
+ that the contents of this file are <I
CLASS="EMPHASIS"
>NOT</I
-></SPAN
>
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"
-><I
+ from this host <I
CLASS="EMPHASIS"
>ONLY</I
-></SPAN
>.</P
><P
>The default path to this file is compiled into
@@ -274,94 +278,120 @@ CLASS="FILENAME"
> or
<TT
CLASS="FILENAME"
->/etc/samba/lmhosts</TT
->. See the <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->lmhosts</SPAN
->(5)</SPAN
-> man page for details on the contents of this file.</P
+>/etc/lmhosts</TT
+>. See the
+ <A
+HREF="lmhosts.5.html"
+TARGET="_top"
+><TT
+CLASS="FILENAME"
+>lmhosts(5)</TT
+></A
+>
+ man page for details on the contents of this file.</P
></DD
><DT
>-V</DT
><DD
><P
>Prints the version number for
-<B
+ <B
CLASS="COMMAND"
->smbd</B
+>nmbd</B
>.</P
></DD
><DT
->-s &#60;configuration file&#62;</DT
+>-d &#60;debug level&#62;</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
+>debuglevel 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
+ server. At level 0, only critical errors and serious
+ warnings will be logged. Level 1 is a reasonable level for
+ day to day running - it generates a small amount of
+ information about operations carried out.</P
+><P
+>Levels above 1 will generate considerable amounts
+ of log data, and should only be used when investigating
+ a problem. Levels above 3 are designed for 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
CLASS="FILENAME"
->smb.conf(5)</TT
+> smb.conf(5)</TT
></A
-> for more information.
-The default configuration file name is determined at
-compile time.</P
+> file.</P
></DD
><DT
->-d|--debug=debuglevel</DT
+>-l &#60;log directory&#62;</DT
><DD
><P
-><VAR
-CLASS="REPLACEABLE"
->debuglevel</VAR
-> 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
-server. At level 0, only critical errors and serious
-warnings will be logged. Level 1 is a reasonable level for
-day to day running - it generates a small amount of
-information about operations carried out.</P
-><P
->Levels above 1 will generate considerable
-amounts of log data, and should only be used when
-investigating a problem. Levels above 3 are designed for
-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"
+>The -l parameter specifies a directory
+ into which the "log.nmbd" log file will be created
+ for operational data from the running <B
+CLASS="COMMAND"
+>nmbd</B
+>
+ server. The default log directory is compiled into Samba
+ as part of the build process. Common defaults are <TT
+CLASS="FILENAME"
+> /usr/local/samba/var/log.nmb</TT
+>, <TT
+CLASS="FILENAME"
+> /usr/samba/var/log.nmb</TT
+> or
+ <TT
+CLASS="FILENAME"
+>/var/log/log.nmb</TT
+>. <I
+CLASS="EMPHASIS"
+>Beware:</I
+>
+ If the directory specified does not exist, <B
+CLASS="COMMAND"
+>nmbd</B
+>
+ will log to the default debug log location defined at compile time.
+ </P
+></DD
+><DT
+>-n &#60;primary NetBIOS name&#62;</DT
+><DD
+><P
+>This option allows you to override
+ the NetBIOS name that Samba uses for itself. This is identical
+ to setting the <A
+HREF="smb.conf.5.html#netbiosname"
TARGET="_top"
->log
-level</A
+> NetBIOS name</A
> parameter in the <A
HREF="smb.conf.5.html"
TARGET="_top"
-><TT
+>
+ <TT
CLASS="FILENAME"
->smb.conf(5)</TT
+>smb.conf</TT
></A
-> file.</P
-></DD
-><DT
->-l|--logfile=logbasename</DT
-><DD
-><P
->File name for log/debug files. The extension
-<CODE
-CLASS="CONSTANT"
->".client"</CODE
-> will be appended. The log file is
-never removed by the client.</P
+> file. However, a command
+ line setting will take precedence over settings in
+ <TT
+CLASS="FILENAME"
+>smb.conf</TT
+>.</P
></DD
><DT
>-p &#60;UDP port number&#62;</DT
@@ -376,13 +406,35 @@ CLASS="COMMAND"
use this option unless you are an expert, in which case you
won't need help!</P
></DD
+><DT
+>-s &#60;configuration file&#62;</DT
+><DD
+><P
+>The default configuration file name
+ is set at build time, typically as <TT
+CLASS="FILENAME"
+> /usr/local/samba/lib/smb.conf</TT
+>, but
+ this may be changed when Samba is autoconfigured.</P
+><P
+>The file specified contains the configuration details
+ required by the server. See <A
+HREF="smb.conf.5.html"
+TARGET="_top"
+> <TT
+CLASS="FILENAME"
+>smb.conf(5)</TT
+></A
+> for more information.
+ </P
+></DD
></DL
></DIV
></DIV
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN131"
+NAME="AEN148"
></A
><H2
>FILES</H2
@@ -405,9 +457,9 @@ CLASS="COMMAND"
> meta-daemon, this file
must contain suitable startup information for the
meta-daemon. See the <A
-HREF="install.html"
+HREF="UNIX_INSTALL.html"
TARGET="_top"
->install</A
+>UNIX_INSTALL.html</A
> document
for details.
</P
@@ -425,9 +477,9 @@ CLASS="FILENAME"
>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"
+HREF="UNIX_INSTALL.html"
TARGET="_top"
->"How to Install and Test SAMBA"</A
+>UNIX_INSTALL.html</A
> document
for details.</P
></DD
@@ -446,9 +498,9 @@ CLASS="COMMAND"
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"
+HREF="UNIX_INSTALL.html"
TARGET="_top"
->"How to Install and Test SAMBA"</A
+>UNIX_INSTALL.html</A
>
document for details.</P
></DD
@@ -459,39 +511,34 @@ CLASS="FILENAME"
></DT
><DD
><P
->This is the default location of
- the <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->smb.conf</SPAN
->(5)</SPAN
-> server
- configuration file. Other common places that systems
+>This is the default location of the
+ <A
+HREF="smb.conf.5.html"
+TARGET="_top"
+><TT
+CLASS="FILENAME"
+>smb.conf</TT
+></A
+>
+ server configuration file. Other common places that systems
install this file are <TT
CLASS="FILENAME"
>/usr/samba/lib/smb.conf</TT
>
and <TT
CLASS="FILENAME"
->/etc/samba/smb.conf</TT
+>/etc/smb.conf</TT
>.</P
><P
>When run as a WINS server (see the
<A
HREF="smb.conf.5.html#WINSSUPPORT"
TARGET="_top"
-><CODE
-CLASS="CONSTANT"
->wins support</CODE
-></A
+>wins support</A
>
- parameter in the <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->smb.conf</SPAN
->(5)</SPAN
+ parameter in the <TT
+CLASS="FILENAME"
+>smb.conf(5)</TT
> man page),
<B
CLASS="COMMAND"
@@ -510,27 +557,19 @@ CLASS="FILENAME"
>If <B
CLASS="COMMAND"
>nmbd</B
-> is acting as a <SPAN
-CLASS="emphasis"
-><I
+> is acting as a <I
CLASS="EMPHASIS"
> browse master</I
-></SPAN
> (see the <A
HREF="smb.conf.5.html#LOCALMASTER"
TARGET="_top"
-><CODE
-CLASS="CONSTANT"
->local master</CODE
-></A
+>local master</A
>
- parameter in the <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->smb.conf</SPAN
->(5)</SPAN
-> man page, <B
+ parameter in the <TT
+CLASS="FILENAME"
+>smb.conf(5)</TT
+> man page,
+ <B
CLASS="COMMAND"
>nmbd</B
>
@@ -551,7 +590,7 @@ CLASS="FILENAME"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN185"
+NAME="AEN195"
></A
><H2
>SIGNALS</H2
@@ -560,12 +599,9 @@ NAME="AEN185"
CLASS="COMMAND"
>nmbd</B
> process it is recommended
- that SIGKILL (-9) <SPAN
-CLASS="emphasis"
-><I
+ that SIGKILL (-9) <I
CLASS="EMPHASIS"
>NOT</I
-></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
@@ -600,22 +636,23 @@ CLASS="FILENAME"
>log.nmb</TT
> file.</P
><P
->The debug log level of nmbd may be raised or lowered
- using <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->smbcontrol</SPAN
->(1)</SPAN
-> (SIGUSR[1|2] signals
- are no longer used since Samba 2.2). This is to allow
- transient problems to be diagnosed, whilst still running
+>The debug log level of nmbd may be raised or lowered using
+ <A
+HREF="smbcontrol.1.html"
+TARGET="_top"
+><B
+CLASS="COMMAND"
+>smbcontrol(1)</B
+>
+ </A
+> (SIGUSR[1|2] signals are no longer used in 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"
><A
-NAME="AEN202"
+NAME="AEN211"
></A
><H2
>VERSION</H2
@@ -626,49 +663,54 @@ NAME="AEN202"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN205"
+NAME="AEN214"
></A
><H2
>SEE ALSO</H2
><P
-> <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->inetd</SPAN
->(8)</SPAN
->, <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->smbd</SPAN
->(8)</SPAN
->, <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->smb.conf</SPAN
->(5)</SPAN
->, <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->smbclient</SPAN
->(1)</SPAN
->, <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->testparm</SPAN
->(1)</SPAN
->, <SPAN
-CLASS="CITEREFENTRY"
-><SPAN
-CLASS="REFENTRYTITLE"
->testprns</SPAN
->(1)</SPAN
->, and the Internet
- RFC's <TT
+><B
+CLASS="COMMAND"
+>inetd(8)</B
+>, <A
+HREF="smbd.8.html"
+TARGET="_top"
+><B
+CLASS="COMMAND"
+>smbd(8)</B
+></A
+>,
+ <A
+HREF="smb.conf.5.html"
+TARGET="_top"
+><TT
+CLASS="FILENAME"
+>smb.conf(5)</TT
+>
+ </A
+>, <A
+HREF="smbclient.1.html"
+TARGET="_top"
+><B
+CLASS="COMMAND"
+>smbclient(1)
+ </B
+></A
+>, <A
+HREF="testparm.1.html"
+TARGET="_top"
+><B
+CLASS="COMMAND"
+> testparm(1)</B
+></A
+>, <A
+HREF="testprns.1.html"
+TARGET="_top"
+> <B
+CLASS="COMMAND"
+>testprns(1)</B
+></A
+>, and the Internet RFC's
+ <TT
CLASS="FILENAME"
>rfc1001.txt</TT
>, <TT
@@ -686,7 +728,7 @@ TARGET="_top"
><DIV
CLASS="REFSECT1"
><A
-NAME="AEN229"
+NAME="AEN231"
></A
><H2
>AUTHOR</H2
@@ -698,14 +740,14 @@ NAME="AEN229"
><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
+ 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
+ Samba 2.2 was done by Gerald Carter</P
></DIV
></BODY
></HTML