From e90b65284812aaa5ff9e9935ce9bbad7791cbbcd Mon Sep 17 00:00:00 2001
From: Andrew Tridgell
The default log directory is compiled into Samba +> server. The default log directory is compiled into Samba as part of the build process. Common defaults are /usr/local/samba/var/log.nmb/var/log/log.nmb.
. Beware: + If the directory specified does not exist, nmbd + will log to the default debug log location defined at compile time. +UDP port number is a positive integer value. - This option changes the default UDP port number (normally 137) + This option changes the default UDP port number (normally 137) that nmbd responds to name queries on. Don't - use this option unless you are an expert, in which case you +> responds to name queries on. Don't + use this option unless you are an expert, in which case you won't need help!
The default configuration file name +>The default configuration file name is set at build time, typically as /usr/local/samba/lib/smb.conf, but this may be changed when Samba is autoconfigured.
The file specified contains the configuration details +>The file specified contains the configuration details required by the server. See - smb.conf(5)
If the server is to be run by the
+>If the server is to be run by the
inetd meta-daemon, this file
- must contain suitable startup information for the
+> meta-daemon, this file
+ must contain suitable startup information for the
meta-daemon. See the or whatever initialization script your
+>or whatever initialization script your
system uses). If running the server as a daemon at startup,
- this file will need to contain an appropriate startup
+>If running the server as a daemon at startup,
+ this file will need to contain an appropriate startup
sequence for the server. See the If running the server via the
+>If running the server via the
meta-daemon inetd, 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).
+>, 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 This is the default location of the
+>This is the default location of the
smb.conf
- server configuration file. Other common places that systems
+ server configuration file. Other common places that systems
install this file are /usr/samba/lib/smb.conf
+>
and /etc/smb.conf. When run as a WINS server (see the
+>When run as a WINS server (see the
wins.dat
+>
in the var/locks directory configured under
+> directory configured under
wherever Samba was configured to install itself. If nmbd will accept SIGHUP, which will cause
+> will accept SIGHUP, which will cause
it to dump out its namelists into the file namelist.debug
@@ -562,12 +567,12 @@ CLASS="FILENAME"
> in the /usr/local/samba/var/locks
+>
directory (or the var/locks directory configured
- under wherever Samba was configured to install itself). This will also
+> directory configured
+ under wherever Samba was configured to install itself). This will also
cause nmbdSIGNALS
To shut down an nmbd process it is recommended
+> process it is recommended
that SIGKILL (-9) NOT be used, except as a last
- resort, as this may leave the name database in an inconsistent state.
+> be used, except as a last
+ resort, as this may leave the name database in an inconsistent state.
The correct way to terminate nmbd is to send it
+> is to send it
a SIGTERM (-15) signal and wait for it to die on its own.