summaryrefslogtreecommitdiff
path: root/docs/manpages/smbd.8
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manpages/smbd.8')
-rw-r--r--docs/manpages/smbd.898
1 files changed, 54 insertions, 44 deletions
diff --git a/docs/manpages/smbd.8 b/docs/manpages/smbd.8
index ef498cbf64..106c0a98e3 100644
--- a/docs/manpages/smbd.8
+++ b/docs/manpages/smbd.8
@@ -3,8 +3,7 @@
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng <steve@ggi-project.org>.
-.TH "SMBD" "8" "24 March 2003" "" ""
-
+.TH "SMBD" "8" "04 March 2003" "" ""
.SH NAME
smbd \- server to provide SMB/CIFS services to clients
.SH SYNOPSIS
@@ -13,7 +12,7 @@ smbd \- server to provide SMB/CIFS services to clients
.SH "DESCRIPTION"
.PP
-This program is part of the \fBSamba\fR(7) suite.
+This program is part of the Samba suite.
.PP
\fBsmbd\fR is the server daemon that
provides filesharing and printing services to Windows clients.
@@ -27,12 +26,14 @@ OS/2, DAVE for Macintosh, and smbfs for Linux.
An extensive description of the services that the
server can provide is given in the man page for the
configuration file controlling the attributes of those
-services (see \fBsmb.conf\fR(5). This man page will not describe the
+services (see \fIsmb.conf(5)
+\fR This man page will not describe the
services, but will concentrate on the administrative aspects
of running the server.
.PP
Please note that there are significant security
-implications to running this server, and the \fBsmb.conf\fR(5) manual page should be regarded as mandatory reading before
+implications to running this server, and the \fIsmb.conf(5)\fR
+manpage should be regarded as mandatory reading before
proceeding with installation.
.PP
A session is created whenever a client requests one.
@@ -85,21 +86,19 @@ command line. \fBsmbd\fR also logs to standard
output, as if the \fB-S\fR parameter had been
given.
.TP
+\fB-h\fR
+Prints the help information (usage)
+for \fBsmbd\fR.
+.TP
\fB-V\fR
Prints the version number for
\fBsmbd\fR.
.TP
-\fB-s <configuration file>\fR
-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 \fIsmb.conf(5)\fR for more information.
-The default configuration file name is determined at
-compile time.
+\fB-b\fR
+Prints information about how
+Samba was built.
.TP
-\fB-d|--debug=debuglevel\fR
+\fB-d <debug level>\fR
\fIdebuglevel\fR is an integer
from 0 to 10. The default value if this parameter is
not specified is zero.
@@ -121,18 +120,6 @@ Note that specifying this parameter here will
override the log
level file.
.TP
-\fB-l|--logfile=logbasename\fR
-File name for log/debug files. The extension
-".client" will be appended. The log file is
-never removed by the client.
-.TP
-\fB-h|--help\fR
-Print a summary of command line options.
-.TP
-\fB-b\fR
-Prints information about how
-Samba was built.
-.TP
\fB-l <log directory>\fR
If specified,
\fIlog directory\fR
@@ -140,14 +127,19 @@ specifies a log directory into which the "log.smbd" log
file will be created for informational and debug
messages from the running server. The log
file generated is never removed by the server although
-its size may be controlled by the \fImax log size\fR
-option in the \fBsmb.conf\fR(5) file. \fBBeware:\fR
+its size may be controlled by the max log size
+option in the \fI smb.conf(5)\fR file. \fBBeware:\fR
If the directory specified does not exist, \fBsmbd\fR
will log to the default debug log location defined at compile time.
The default log directory is specified at
compile time.
.TP
+\fB-O <socket options>\fR
+See the socket options
+parameter in the \fIsmb.conf(5)
+\fR file for details.
+.TP
\fB-p <port number>\fR
\fIport number\fR is a positive integer
value. The default value if this parameter is not
@@ -170,13 +162,23 @@ section 4.3.5.
This parameter is not normally specified except
in the above situation.
+.TP
+\fB-s <configuration file>\fR
+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 \fI smb.conf(5)\fR for more information.
+The default configuration file name is determined at
+compile time.
.SH "FILES"
.TP
\fB\fI/etc/inetd.conf\fB\fR
If the server is to be run by the
\fBinetd\fR meta-daemon, this file
must contain suitable startup information for the
-meta-daemon. See the "How to Install and Test SAMBA"
+meta-daemon. See the UNIX_INSTALL.html
document for details.
.TP
\fB\fI/etc/rc\fB\fR
@@ -185,7 +187,7 @@ system uses).
If running the server as a daemon at startup,
this file will need to contain an appropriate startup
-sequence for the server. See the "How to Install and Test SAMBA"
+sequence for the server. See the UNIX_INSTALL.html
document for details.
.TP
\fB\fI/etc/services\fB\fR
@@ -193,16 +195,18 @@ If running the server via the
meta-daemon \fBinetd\fR, 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 "How to Install and Test SAMBA"
+See the UNIX_INSTALL.html
document for details.
.TP
\fB\fI/usr/local/samba/lib/smb.conf\fB\fR
-This is the default location of the \fBsmb.conf\fR(5) server configuration file. Other common places that systems
+This is the default location of the
+\fIsmb.conf\fR
+server configuration file. Other common places that systems
install this file are \fI/usr/samba/lib/smb.conf\fR
-and \fI/etc/samba/smb.conf\fR.
+and \fI/etc/smb.conf\fR.
This file describes all the services the server
-is to make available to clients. See \fBsmb.conf\fR(5) for more information.
+is to make available to clients. See \fIsmb.conf(5)\fR for more information.
.SH "LIMITATIONS"
.PP
On some systems \fBsmbd\fR cannot change uid back
@@ -225,8 +229,9 @@ is not specific to the server, however.
Samba uses PAM for authentication (when presented with a plaintext
password), for account checking (is this account disabled?) and for
session management. The degree too which samba supports PAM is restricted
-by the limitations of the SMB protocol and the \fIobey
-pam restricions\fR \fBsmb.conf\fR(5) paramater. When this is set, the following restrictions apply:
+by the limitations of the SMB protocol and the
+obey pam restricions
+smb.conf paramater. When this is set, the following restrictions apply:
.TP 0.2i
\(bu
\fBAccount Validation\fR: All accesses to a
@@ -274,8 +279,9 @@ an \fBsmbd\fR is to send it a SIGTERM (-15) signal and wait for
it to die on its own.
.PP
The debug log level of \fBsmbd\fR may be raised
-or lowered using \fBsmbcontrol\fR(1) program (SIGUSR[1|2] signals are no longer
-used since Samba 2.2). This is to allow transient problems to be diagnosed,
+or lowered using \fBsmbcontrol(1)
+\fR program (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.
.PP
Note that as the signal handlers send a debug write,
@@ -286,8 +292,12 @@ by un-blocking the signals before the select call and re-blocking
them after, however this would affect performance.
.SH "SEE ALSO"
.PP
-\fBhosts_access\fR(5), \fBinetd\fR(8), \fBnmbd\fR(8), \fBsmb.conf\fR(5), \fBsmbclient\fR(1), \fBtestparm\fR(1), \fBtestprns\fR(1), and the
-Internet RFC's \fIrfc1001.txt\fR, \fIrfc1002.txt\fR.
+hosts_access(5), \fBinetd(8)\fR,
+\fBnmbd(8)\fR
+\fIsmb.conf(5)\fR
+ \fBsmbclient(1)
+\fR and the Internet RFC's
+\fIrfc1001.txt\fR, \fIrfc1002.txt\fR.
In addition the CIFS (formerly SMB) specification is available
as a link from the Web page
http://samba.org/cifs/ <URL:http://samba.org/cifs/>.
@@ -300,7 +310,7 @@ to the way the Linux kernel is developed.
.PP
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 ftp://ftp.icce.rug.nl/pub/unix/ <URL:ftp://ftp.icce.rug.nl/pub/unix/>) and updated for the Samba 2.0
+excellent piece of Open Source software, available at
+ftp://ftp.icce.rug.nl/pub/unix/ <URL:ftp://ftp.icce.rug.nl/pub/unix/>) 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.
+Samba 2.2 was done by Gerald Carter