summaryrefslogtreecommitdiff
path: root/docs/manpages/smb.conf.5
diff options
context:
space:
mode:
Diffstat (limited to 'docs/manpages/smb.conf.5')
-rw-r--r--docs/manpages/smb.conf.51127
1 files changed, 583 insertions, 544 deletions
diff --git a/docs/manpages/smb.conf.5 b/docs/manpages/smb.conf.5
index fee4cf8989..c6dc6c3a11 100644
--- a/docs/manpages/smb.conf.5
+++ b/docs/manpages/smb.conf.5
@@ -3,18 +3,18 @@
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/>
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng <steve@ggi-project.org>.
-.TH "SMB.CONF" "5" "18 February 2003" "" ""
-
+.TH "SMB.CONF" "5" "04 March 2003" "" ""
.SH NAME
smb.conf \- The configuration file for the Samba suite
.SH "SYNOPSIS"
.PP
-The \fIsmb.conf\fR file is a configuration
-file for the Samba suite. \fIsmb.conf\fR contains
-runtime configuration information for the Samba programs. The \fIsmb.conf\fR file
-is designed to be configured and administered by the \fBswat\fR(8) program. The complete
-description of the file format and possible parameters held within
-are here for reference purposes.
+The \fIsmb.conf\fR file is a configuration
+file for the Samba suite. \fIsmb.conf\fR contains
+runtime configuration information for the Samba programs. The
+\fIsmb.conf\fR file is designed to be configured and
+administered by the \fBswat(8)\fR
+ program. The complete description of the file format and
+possible parameters held within are here for reference purposes.
.SH "FILE FORMAT"
.PP
The file consists of sections and parameters. A section
@@ -93,9 +93,11 @@ The user has write access to the path \fI/home/bar\fR.
The share is accessed via the share name "foo":
.nf
-[foo]
- path = /home/bar
- read only = no
+ [foo]
+ path = /home/bar
+ read only = no
+
+
.fi
.PP
The following sample section defines a printable share.
@@ -106,11 +108,13 @@ access will be permitted as the default guest user (specified
elsewhere):
.nf
-[aprinter]
- path = /usr/spool/public
- read only = yes
- printable = yes
- guest ok = yes
+ [aprinter]
+ path = /usr/spool/public
+ read only = yes
+ printable = yes
+ guest ok = yes
+
+
.fi
.SH "SPECIAL SECTIONS"
.SS "THE [GLOBAL] SECTION"
@@ -168,8 +172,10 @@ than others. The following is a typical and suitable [homes]
section:
.nf
-[homes]
- read only = no
+ [homes]
+ read only = no
+
+
.fi
.PP
An important point is that if guest access is specified
@@ -229,10 +235,11 @@ it. A typical [printers] entry would look like
this:
.nf
-[printers]
- path = /usr/spool/public
- guest ok = yes
- printable = yes
+ [printers]
+ path = /usr/spool/public
+ guest ok = yes
+ printable = yes
+
.fi
.PP
All aliases given for a printer in the printcap file
@@ -242,7 +249,9 @@ to set up a pseudo-printcap. This is a file consisting of one or
more lines like this:
.nf
-alias|alias|alias|alias...
+ alias|alias|alias|alias...
+
+
.fi
.PP
Each alias should be an acceptable printer name for
@@ -1436,9 +1445,10 @@ each parameter for details. Note that some are synonyms.
\fIwriteable\fR
.SH "EXPLANATION OF EACH PARAMETER"
.TP
-\fB>abort shutdown script (G)\fR
+\fBabort shutdown script (G)\fR
\fBThis parameter only exists in the HEAD cvs branch\fR
-This a full path name to a script called by \fBsmbd\fR(8) that
+This a full path name to a script called by
+\fBsmbd(8)\fR that
should stop a shutdown procedure issued by the \fIshutdown script\fR.
This command will be run as user.
@@ -1447,7 +1457,7 @@ Default: \fBNone\fR.
Example: \fBabort shutdown script = /sbin/shutdown -c\fR
.TP
-\fB>addprinter command (G)\fR
+\fBaddprinter command (G)\fR
With the introduction of MS-RPC based printing
support for Windows NT/2000 clients in Samba 2.2, The MS Add
Printer Wizard (APW) icon is now also available in the
@@ -1461,11 +1471,12 @@ printer command\fR defines a script to be run which
will perform the necessary operations for adding the printer
to the print system and to add the appropriate service definition
to the \fIsmb.conf\fR file in order that it can be
-shared by \fBsmbd\fR(8).
+shared by \fBsmbd(8)\fR
+
The \fIaddprinter command\fR is
automatically invoked with the following parameter (in
-order):
+order:
.RS
.TP 0.2i
\(bu
@@ -1507,7 +1518,7 @@ Default: \fBnone\fR
Example: \fBaddprinter command = /usr/bin/addprinter
\fR
.TP
-\fB>add share command (G)\fR
+\fBadd share command (G)\fR
Samba 2.2.0 introduced the ability to dynamically
add and delete shares via the Windows NT 4.0 Server Manager. The
\fIadd share command\fR is used to define an
@@ -1550,9 +1561,9 @@ Default: \fBnone\fR
Example: \fBadd share command = /usr/local/bin/addshare\fR
.TP
-\fB>add machine script (G)\fR
+\fBadd machine script (G)\fR
This is the full pathname to a script that will
-be run by \fBsmbd\fR(8) when a machine is added
+be run by smbd(8) when a machine is added
to it's domain using the administrator username and password method.
This option is only required when using sam back-ends tied to the
@@ -1565,7 +1576,7 @@ Default: \fBadd machine script = <empty string>
Example: \fBadd machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
\fR
.TP
-\fB>ads server (G)\fR
+\fBads server (G)\fR
If this option is specified, samba does
not try to figure out what ads server to use itself, but
uses the specified ads server. Either one DNS name or IP
@@ -1575,9 +1586,10 @@ Default: \fBads server = \fR
Example: \fBads server = 192.168.1.2\fR
.TP
-\fB>add user script (G)\fR
+\fBadd user script (G)\fR
This is the full pathname to a script that will
-be run \fBAS ROOT\fR by \fBsmbd\fR(8) under special circumstances described below.
+be run \fBAS ROOT\fR by smbd(8)
+ under special circumstances described below.
Normally, a Samba server requires that UNIX users are
created for all users accessing files on this server. For sites
@@ -1586,14 +1598,15 @@ creating these users and keeping the user list in sync with the
Windows NT PDC is an onerous task. This option allows smbd to create the required UNIX users
\fBON DEMAND\fR when a user accesses the Samba server.
-In order to use this option, \fBsmbd\fR(8) must \fBNOT\fR be set to \fIsecurity = share\fR
+In order to use this option, smbd
+must \fBNOT\fR be set to \fIsecurity = share\fR
and \fIadd user script\fR
must be set to a full pathname for a script that will create a UNIX
user given one argument of \fI%u\fR, which expands into
the UNIX user name to create.
When the Windows user attempts to access the Samba server,
-at login (session setup in the SMB protocol) time, \fBsmbd\fR(8) contacts the \fIpassword server\fR and
+at login (session setup in the SMB protocol) time, smbd contacts the \fIpassword server\fR and
attempts to authenticate the given user with the given password. If the
authentication succeeds then \fBsmbd\fR
attempts to find a UNIX user in the UNIX password database to map the
@@ -1617,9 +1630,9 @@ Default: \fBadd user script = <empty string>
Example: \fBadd user script = /usr/local/samba/bin/add_user
%u\fR
.TP
-\fB>add group script (G)\fR
+\fBadd group script (G)\fR
This is the full pathname to a script that will
-be run \fBAS ROOT\fR by \fBsmbd\fR(8) when a new group is
+be run \fBAS ROOT\fR by smbd(8) when a new group is
requested. It will expand any
\fI%g\fR to the group name passed.
This script is only useful for installations using the
@@ -1629,7 +1642,7 @@ circumvent unix group name restrictions. In that case
the script must print the numeric gid of the created
group on stdout.
.TP
-\fB>admin users (S)\fR
+\fBadmin users (S)\fR
This is a list of users who will be granted
administrative privileges on the share. This means that they
will do all file operations as the super-user (root).
@@ -1642,21 +1655,22 @@ Default: \fBno admin users\fR
Example: \fBadmin users = jason\fR
.TP
-\fB>add user to group script (G)\fR
+\fBadd user to group script (G)\fR
Full path to the script that will be called when
a user is added to a group using the Windows NT domain administration
-tools. It will be run by \fBsmbd\fR(8) \fBAS ROOT\fR.
-Any \fI%g\fR will be replaced with the group name and
-any \fI%u\fR will be replaced with the user name.
+tools. It will be run by smbd(8)
+\fBAS ROOT\fR. Any \fI%g\fR will be
+replaced with the group name and any \fI%u\fR will
+be replaced with the user name.
Default: \fBadd user to group script = \fR
Example: \fBadd user to group script = /usr/sbin/adduser %u %g\fR
.TP
-\fB>allow hosts (S)\fR
+\fBallow hosts (S)\fR
Synonym for \fIhosts allow\fR.
.TP
-\fB>algorithmic rid base (G)\fR
+\fBalgorithmic rid base (G)\fR
This determines how Samba will use its
algorithmic mapping from uids/gid to the RIDs needed to construct
NT Security Identifiers.
@@ -1675,7 +1689,7 @@ Default: \fBalgorithmic rid base = 1000\fR
Example: \fBalgorithmic rid base = 100000\fR
.TP
-\fB>allow trusted domains (G)\fR
+\fBallow trusted domains (G)\fR
This option only takes effect when the \fIsecurity\fR option is set to
server or domain.
If it is set to no, then attempts to connect to a resource from
@@ -1694,8 +1708,10 @@ can make implementing a security boundary difficult.
Default: \fBallow trusted domains = yes\fR
.TP
-\fB>announce as (G)\fR
-This specifies what type of server \fBnmbd\fR(8) will announce itself as, to a network neighborhood browse
+\fBannounce as (G)\fR
+This specifies what type of server
+\fBnmbd\fR
+will announce itself as, to a network neighborhood browse
list. By default this is set to Windows NT. The valid options
are : "NT Server" (which can also be written as "NT"),
"NT Workstation", "Win95" or "WfW" meaning Windows NT Server,
@@ -1709,7 +1725,7 @@ Default: \fBannounce as = NT Server\fR
Example: \fBannounce as = Win95\fR
.TP
-\fB>announce version (G)\fR
+\fBannounce version (G)\fR
This specifies the major and minor version numbers
that nmbd will use when announcing itself as a server. The default
is 4.9. Do not change this parameter unless you have a specific
@@ -1719,10 +1735,10 @@ Default: \fBannounce version = 4.9\fR
Example: \fBannounce version = 2.0\fR
.TP
-\fB>auto services (G)\fR
+\fBauto services (G)\fR
This is a synonym for the \fIpreload\fR.
.TP
-\fB>auth methods (G)\fR
+\fBauth methods (G)\fR
This option allows the administrator to chose what
authentication methods \fBsmbd\fR will use when authenticating
a user. This option defaults to sensible values based on \fI security\fR.
@@ -1734,7 +1750,7 @@ Default: \fBauth methods = <empty string>\fR
Example: \fBauth methods = guest sam ntdomain\fR
.TP
-\fB>available (S)\fR
+\fBavailable (S)\fR
This parameter lets you "turn off" a service. If
\fIavailable = no\fR, then \fBALL\fR
attempts to connect to the service will fail. Such failures are
@@ -1742,10 +1758,12 @@ logged.
Default: \fBavailable = yes\fR
.TP
-\fB>bind interfaces only (G)\fR
+\fBbind interfaces only (G)\fR
This global parameter allows the Samba admin
to limit what interfaces on a machine will serve SMB requests. It
-affects file service \fBsmbd\fR(8) and name service \fBnmbd\fR(8) in a slightly different ways.
+affects file service smbd(8) and
+name service nmbd(8) in slightly
+different ways.
For name service it causes \fBnmbd\fR to bind
to ports 137 and 138 on the interfaces listed in the interfaces parameter. \fBnmbd
@@ -1764,8 +1782,8 @@ send packets that arrive through any interfaces not listed in the
does defeat this simple check, however, so it must not be used
seriously as a security feature for \fBnmbd\fR.
-For file service it causes \fBsmbd\fR(8) to bind only to the interface list
-given in the interfaces parameter. This restricts the networks that
+For file service it causes smbd(8)
+to bind only to the interface list given in the interfaces parameter. This restricts the networks that
\fBsmbd\fR will serve to packets coming in those
interfaces. Note that you should not use this parameter for machines
that are serving PPP or other intermittent or non-broadcast network
@@ -1773,7 +1791,9 @@ interfaces as it will not cope with non-permanent interfaces.
If \fIbind interfaces only\fR is set then
unless the network address \fB127.0.0.1\fR is added
-to the \fIinterfaces\fR parameter list \fBsmbpasswd\fR(8) and \fBswat\fR(8) may not work as expected due to the reasons covered below.
+to the \fIinterfaces\fR parameter list \fBsmbpasswd(8)\fR
+and \fBswat(8)\fR may
+not work as expected due to the reasons covered below.
To change a users SMB password, the \fBsmbpasswd\fR
by default connects to the \fBlocalhost - 127.0.0.1\fR
@@ -1782,8 +1802,8 @@ address as an SMB client to issue the password change request. If
network address \fB127.0.0.1\fR is added to the
\fIinterfaces\fR parameter list then \fB smbpasswd\fR will fail to connect in it's default mode.
\fBsmbpasswd\fR can be forced to use the primary IP interface
-of the local host by using its \fBsmbpasswd\fR(8) \fI-r remote machine\fR
-parameter, with \fIremote machine\fR set
+of the local host by using its \fI-r remote machine\fR
+ parameter, with \fIremote machine\fR set
to the IP name of the primary interface of the local host.
The \fBswat\fR status page tries to connect with
@@ -1795,9 +1815,8 @@ and \fBnmbd\fR.
Default: \fBbind interfaces only = no\fR
.TP
-\fB>blocking locks (S)\fR
-This parameter controls the behavior
-of \fBsmbd\fR(8) when given a request by a client
+\fBblocking locks (S)\fR
+This parameter controls the behavior of smbd(8) when given a request by a client
to obtain a byte range lock on a region of an open file, and the
request has a time limit associated with it.
@@ -1813,8 +1832,9 @@ cannot be obtained.
Default: \fBblocking locks = yes\fR
.TP
-\fB>block size (S)\fR
-This parameter controls the behavior of \fBsmbd\fR(8) when reporting disk free
+\fBblock size (S)\fR
+This parameter controls the behavior of
+smbd(8) when reporting disk free
sizes. By default, this reports a disk block size of 1024 bytes.
Changing this parameter may have some effect on the
@@ -1826,38 +1846,42 @@ is an experimental option it may be removed in a future release.
Changing this option does not change the disk free reporting
size, just the block size unit reported to the client.
+
+Default: \fBblock size = 1024\fR
+
+Example: \fBblock size = 65536\fR
.TP
-\fB>browsable (S)\fR
+\fBbrowsable (S)\fR
See the \fI browseable\fR.
.TP
-\fB>browse list (G)\fR
-This controls whether \fBsmbd\fR(8) will serve a browse list to
+\fBbrowse list (G)\fR
+This controls whether \fBsmbd(8)\fR will serve a browse list to
a client doing a \fBNetServerEnum\fR call. Normally
set to yes. You should never need to change
this.
Default: \fBbrowse list = yes\fR
.TP
-\fB>browseable (S)\fR
+\fBbrowseable (S)\fR
This controls whether this share is seen in
the list of available shares in a net view and in the browse list.
Default: \fBbrowseable = yes\fR
.TP
-\fB>case sensitive (S)\fR
+\fBcase sensitive (S)\fR
See the discussion in the section NAME MANGLING.
Default: \fBcase sensitive = no\fR
.TP
-\fB>casesignames (S)\fR
+\fBcasesignames (S)\fR
Synonym for case
sensitive.
.TP
-\fB>change notify timeout (G)\fR
+\fBchange notify timeout (G)\fR
This SMB allows a client to tell a server to
"watch" a particular directory for any changes and only reply to
the SMB request when a change has occurred. Such constant scanning of
-a directory is expensive under UNIX, hence an \fBsmbd\fR(8) daemon only performs such a scan
+a directory is expensive under UNIX, hence an \fBsmbd(8)\fR daemon only performs such a scan
on each requested directory once every \fIchange notify
timeout\fR seconds.
@@ -1867,7 +1891,7 @@ Example: \fBchange notify timeout = 300\fR
Would change the scan time to every 5 minutes.
.TP
-\fB>change share command (G)\fR
+\fBchange share command (G)\fR
Samba 2.2.0 introduced the ability to dynamically
add and delete shares via the Windows NT 4.0 Server Manager. The
\fIchange share command\fR is used to define an
@@ -1909,7 +1933,7 @@ Default: \fBnone\fR
Example: \fBchange share command = /usr/local/bin/addshare\fR
.TP
-\fB>comment (S)\fR
+\fBcomment (S)\fR
This is a text field that is seen next to a share
when a client does a queries the server, either via the network
neighborhood or via \fBnet view\fR to list what shares
@@ -1922,7 +1946,7 @@ Default: \fBNo comment string\fR
Example: \fBcomment = Fred's Files\fR
.TP
-\fB>config file (G)\fR
+\fBconfig file (G)\fR
This allows you to override the config file
to use, instead of the default (usually \fIsmb.conf\fR).
There is a chicken and egg problem here as this option is set
@@ -1942,7 +1966,7 @@ clients).
Example: \fBconfig file = /usr/local/samba/lib/smb.conf.%m
\fR
.TP
-\fB>copy (S)\fR
+\fBcopy (S)\fR
This parameter allows you to "clone" service
entries. The specified service is simply duplicated under the
current service's name. Any parameters specified in the current
@@ -1957,7 +1981,7 @@ Default: \fBno value\fR
Example: \fBcopy = otherservice\fR
.TP
-\fB>create mask (S)\fR
+\fBcreate mask (S)\fR
A synonym for this parameter is
\fIcreate mode\fR
\&.
@@ -1994,10 +2018,10 @@ Default: \fBcreate mask = 0744\fR
Example: \fBcreate mask = 0775\fR
.TP
-\fB>create mode (S)\fR
+\fBcreate mode (S)\fR
This is a synonym for \fI create mask\fR.
.TP
-\fB>csc policy (S)\fR
+\fBcsc policy (S)\fR
This stands for \fBclient-side caching
policy\fR, and specifies how clients capable of offline
caching will cache the files in the share. The valid values
@@ -2014,7 +2038,7 @@ Default: \fBcsc policy = manual\fR
Example: \fBcsc policy = programs\fR
.TP
-\fB>deadtime (G)\fR
+\fBdeadtime (G)\fR
The value of the parameter (a decimal integer)
represents the number of minutes of inactivity before a connection
is considered dead, and it is disconnected. The deadtime only takes
@@ -2037,7 +2061,7 @@ Default: \fBdeadtime = 0\fR
Example: \fBdeadtime = 15\fR
.TP
-\fB>debug hires timestamp (G)\fR
+\fBdebug hires timestamp (G)\fR
Sometimes the timestamps in the log messages
are needed with a resolution of higher that seconds, this
boolean parameter adds microsecond resolution to the timestamp
@@ -2048,7 +2072,7 @@ effect.
Default: \fBdebug hires timestamp = no\fR
.TP
-\fB>debug pid (G)\fR
+\fBdebug pid (G)\fR
When using only one log file for more then one
forked smbdprocess there may be hard to follow which process
outputs which message. This boolean parameter is adds the process-id
@@ -2059,7 +2083,7 @@ effect.
Default: \fBdebug pid = no\fR
.TP
-\fB>debug timestamp (G)\fR
+\fBdebug timestamp (G)\fR
Samba debug log messages are timestamped
by default. If you are running at a high \fIdebug level\fR these timestamps
can be distracting. This boolean parameter allows timestamping
@@ -2067,7 +2091,7 @@ to be turned off.
Default: \fBdebug timestamp = yes\fR
.TP
-\fB>debug uid (G)\fR
+\fBdebug uid (G)\fR
Samba is sometimes run as root and sometime
run as the connected user, this boolean parameter inserts the
current euid, egid, uid and gid to the timestamp message headers
@@ -2078,18 +2102,18 @@ effect.
Default: \fBdebug uid = no\fR
.TP
-\fB>debuglevel (G)\fR
+\fBdebuglevel (G)\fR
Synonym for \fI log level\fR.
.TP
-\fB>default (G)\fR
+\fBdefault (G)\fR
A synonym for \fI default service\fR.
.TP
-\fB>default case (S)\fR
+\fBdefault case (S)\fR
See the section on NAME MANGLING. Also note the \fIshort preserve case\fR parameter.
Default: \fBdefault case = lower\fR
.TP
-\fB>default devmode (S)\fR
+\fBdefault devmode (S)\fR
This parameter is only applicable to printable services. When smbd is serving
Printer Drivers to Windows NT/2k/XP clients, each printer on the Samba
server has a Device Mode which defines things such as paper size and
@@ -2117,7 +2141,7 @@ see the MSDN documentation <URL:http://msdn.microsoft.com/>.
Default: \fBdefault devmode = no\fR
.TP
-\fB>default service (G)\fR
+\fBdefault service (G)\fR
This parameter specifies the name of a service
which will be connected to if the service actually requested cannot
be found. Note that the square brackets are \fBNOT\fR
@@ -2147,15 +2171,14 @@ Example:
[pub]
path = /%S
+
.fi
.TP
-\fB>delete group script (G)\fR
+\fBdelete group script (G)\fR
This is the full pathname to a script that will
-be run \fBAS ROOT\fR \fBsmbd\fR(8) when a group is requested to be deleted.
-It will expand any \fI%g\fR to the group name passed.
-This script is only useful for installations using the Windows NT domain administration tools.
+be run \fBAS ROOT\fR by smbd(8) when a group is requested to be deleted. It will expand any \fI%g\fR to the group name passed. This script is only useful for installations using the Windows NT domain administration tools.
.TP
-\fB>deleteprinter command (G)\fR
+\fBdeleteprinter command (G)\fR
With the introduction of MS-RPC based printer
support for Windows NT/2000 clients in Samba 2.2, it is now
possible to delete printer at run time by issuing the
@@ -2183,7 +2206,7 @@ Default: \fBnone\fR
Example: \fBdeleteprinter command = /usr/bin/removeprinter
\fR
.TP
-\fB>delete readonly (S)\fR
+\fBdelete readonly (S)\fR
This parameter allows readonly files to be deleted.
This is not normal DOS semantics, but is allowed by UNIX.
@@ -2193,7 +2216,7 @@ permissions, and DOS semantics prevent deletion of a read only file.
Default: \fBdelete readonly = no\fR
.TP
-\fB>delete share command (G)\fR
+\fBdelete share command (G)\fR
Samba 2.2.0 introduced the ability to dynamically
add and delete shares via the Windows NT 4.0 Server Manager. The
\fIdelete share command\fR is used to define an
@@ -2228,10 +2251,10 @@ Default: \fBnone\fR
Example: \fBdelete share command = /usr/local/bin/delshare\fR
.TP
-\fB>delete user script (G)\fR
+\fBdelete user script (G)\fR
This is the full pathname to a script that will
-be run by \fBsmbd\fR(8) when managing users
-with remote RPC (NT) tools.
+be run by \fBsmbd(8)\fR
+when managing user's with remote RPC (NT) tools.
This script is called when a remote client removes a user
from the server, normally using 'User Manager for Domains' or
@@ -2245,18 +2268,19 @@ Default: \fBdelete user script = <empty string>
Example: \fBdelete user script = /usr/local/samba/bin/del_user
%u\fR
.TP
-\fB>delete user from group script (G)\fR
+\fBdelete user from group script (G)\fR
Full path to the script that will be called when
a user is removed from a group using the Windows NT domain administration
-tools. It will be run by \fBsmbd\fR(8) \fBAS ROOT\fR.
-Any \fI%g\fR will be replaced with the group name and
-any \fI%u\fR will be replaced with the user name.
+tools. It will be run by smbd(8)
+\fBAS ROOT\fR. Any \fI%g\fR will be
+replaced with the group name and any \fI%u\fR will
+be replaced with the user name.
Default: \fBdelete user from group script = \fR
Example: \fBdelete user from group script = /usr/sbin/deluser %u %g\fR
.TP
-\fB>delete veto files (S)\fR
+\fBdelete veto files (S)\fR
This option is used when Samba is attempting to
delete a directory that contains one or more vetoed directories
(see the \fIveto files\fR
@@ -2280,11 +2304,11 @@ files\fR parameter.
Default: \fBdelete veto files = no\fR
.TP
-\fB>deny hosts (S)\fR
+\fBdeny hosts (S)\fR
Synonym for \fIhosts
deny\fR.
.TP
-\fB>dfree command (G)\fR
+\fBdfree command (G)\fR
The \fIdfree command\fR setting should
only be used on systems where a problem occurs with the internal
disk space calculations. This has been known to happen with Ultrix,
@@ -2320,8 +2344,9 @@ Where the script dfree (which must be made executable) could be:
.nf
-#!/bin/sh
-df $1 | tail -1 | awk '{print $2" "$4}'
+ #!/bin/sh
+ df $1 | tail -1 | awk '{print $2" "$4}'
+
.fi
or perhaps (on Sys V based systems):
@@ -2329,18 +2354,19 @@ or perhaps (on Sys V based systems):
.nf
-#!/bin/sh
-/usr/bin/df -k $1 | tail -1 | awk '{print $3" "$5}'
+ #!/bin/sh
+ /usr/bin/df -k $1 | tail -1 | awk '{print $3" "$5}'
+
.fi
Note that you may have to replace the command names
with full path names on some systems.
.TP
-\fB>directory (S)\fR
+\fBdirectory (S)\fR
Synonym for \fIpath
\fR.
.TP
-\fB>directory mask (S)\fR
+\fBdirectory mask (S)\fR
This parameter is the octal modes which are
used when converting DOS modes to UNIX modes when creating UNIX
directories.
@@ -2381,10 +2407,10 @@ Default: \fBdirectory mask = 0755\fR
Example: \fBdirectory mask = 0775\fR
.TP
-\fB>directory mode (S)\fR
+\fBdirectory mode (S)\fR
Synonym for \fI directory mask\fR
.TP
-\fB>directory security mask (S)\fR
+\fBdirectory security mask (S)\fR
This parameter controls what UNIX permission bits
can be modified when a Windows NT client is manipulating the UNIX
permission on a directory using the native NT security dialog
@@ -2414,7 +2440,7 @@ Default: \fBdirectory security mask = 0777\fR
Example: \fBdirectory security mask = 0700\fR
.TP
-\fB>disable netbios (G)\fR
+\fBdisable netbios (G)\fR
Enabling this parameter will disable netbios support
in Samba. Netbios is the only available form of browsing in
all windows versions except for 2000 and XP.
@@ -2426,7 +2452,7 @@ Default: \fBdisable netbios = no\fR
Example: \fBdisable netbios = yes\fR
.TP
-\fB>disable spoolss (G)\fR
+\fBdisable spoolss (G)\fR
Enabling this parameter will disable Samba's support
for the SPOOLSS set of MS-RPC's and will yield identical behavior
as Samba 2.0.x. Windows NT/2000 clients will downgrade to using
@@ -2442,7 +2468,7 @@ See also use client driver
Default : \fBdisable spoolss = no\fR
.TP
-\fB>display charset (G)\fR
+\fBdisplay charset (G)\fR
Specifies the charset that samba will use
to print messages to stdout and stderr and SWAT will use.
Should generally be the same as the \fBunix charset\fR.
@@ -2451,11 +2477,12 @@ Default: \fBdisplay charset = ASCII\fR
Example: \fBdisplay charset = UTF8\fR
.TP
-\fB>dns proxy (G)\fR
-Specifies that \fBnmbd\fR(8) when acting as a WINS server and
-finding that a NetBIOS name has not been registered, should treat the
-NetBIOS name word-for-word as a DNS name and do a lookup with the DNS server
-for that name on behalf of the name-querying client.
+\fBdns proxy (G)\fR
+Specifies that nmbd(8)
+when acting as a WINS server and finding that a NetBIOS name has not
+been registered, should treat the NetBIOS name word-for-word as a DNS
+name and do a lookup with the DNS server for that name on behalf of
+the name-querying client.
Note that the maximum length for a NetBIOS name is 15
characters, so the DNS name (or DNS alias) can likewise only be
@@ -2469,7 +2496,7 @@ See also the parameter \fI wins support\fR.
Default: \fBdns proxy = yes\fR
.TP
-\fB>domain logons (G)\fR
+\fBdomain logons (G)\fR
If set to yes, the Samba server will serve
Windows 95/98 Domain logons for the \fIworkgroup\fR it is in. Samba 2.2
has limited capability to act as a domain controller for Windows
@@ -2479,17 +2506,18 @@ directory shipped with the source code.
Default: \fBdomain logons = no\fR
.TP
-\fB>domain master (G)\fR
-Tell \fBsmbd\fR(8) to enable WAN-wide browse list
+\fBdomain master (G)\fR
+Tell \fB nmbd(8)\fR to enable WAN-wide browse list
collation. Setting this option causes \fBnmbd\fR to
claim a special domain specific NetBIOS name that identifies
it as a domain master browser for its given \fIworkgroup\fR. Local master browsers
in the same \fIworkgroup\fR on broadcast-isolated
subnets will give this \fBnmbd\fR their local browse lists,
-and then ask \fBsmbd\fR(8) for a complete copy of the browse
-list for the whole wide area network. Browser clients will then contact
-their local master browser, and will receive the domain-wide browse list,
-instead of just the list for their broadcast-isolated subnet.
+and then ask \fBsmbd(8)\fR
+for a complete copy of the browse list for the whole wide area
+network. Browser clients will then contact their local master browser,
+and will receive the domain-wide browse list, instead of just the list
+for their broadcast-isolated subnet.
Note that Windows NT Primary Domain Controllers expect to be
able to claim this \fIworkgroup\fR specific special
@@ -2509,7 +2537,7 @@ master\fR be enabled by default.
Default: \fBdomain master = auto\fR
.TP
-\fB>dont descend (S)\fR
+\fBdont descend (S)\fR
There are certain directories on some systems
(e.g., the \fI/proc\fR tree under Linux) that are either not
of interest to clients or are infinitely deep (recursive). This
@@ -2525,16 +2553,17 @@ to descend)\fR
Example: \fBdont descend = /proc,/dev\fR
.TP
-\fB>dos charset (G)\fR
+\fBdos charset (G)\fR
DOS SMB clients assume the server has
the same charset as they do. This option specifies which
charset Samba should talk to DOS clients.
The default depends on which charsets you have instaled.
Samba tries to use charset 850 but falls back to ASCII in
-case it is not available. Run \fBtestparm\fR(1) to check the default on your system.
+case it is not available. Run testparm(1)
+ to check the default on your system.
.TP
-\fB>dos filemode (S)\fR
+\fBdos filemode (S)\fR
The default behavior in Samba is to provide
UNIX-like behavior where only the owner of a file/directory is
able to change the permissions on it. However, this behavior
@@ -2548,12 +2577,13 @@ are modified.
Default: \fBdos filemode = no\fR
.TP
-\fB>dos filetime resolution (S)\fR
+\fBdos filetime resolution (S)\fR
Under the DOS and Windows FAT filesystem, the finest
granularity on time resolution is two seconds. Setting this parameter
for a share causes Samba to round the reported time down to the
nearest two second boundary when a query call that requires one second
-resolution is made to \fBsmbd\fR(8).
+resolution is made to \fBsmbd(8)\fR
+
This option is mainly used as a compatibility option for Visual
C++ when used against Samba shares. If oplocks are enabled on a
@@ -2568,18 +2598,18 @@ happy.
Default: \fBdos filetime resolution = no\fR
.TP
-\fB>dos filetimes (S)\fR
+\fBdos filetimes (S)\fR
Under DOS and Windows, if a user can write to a
file they can change the timestamp on it. Under POSIX semantics,
only the owner of the file or root may change the timestamp. By
default, Samba runs with POSIX semantics and refuses to change the
timestamp on a file if the user \fBsmbd\fR is acting
-on behalf of is not the file owner. Setting this option to yes allows DOS semantics and \fBsmbd\fR(8) will change the file
+on behalf of is not the file owner. Setting this option to yes allows DOS semantics and smbd will change the file
timestamp as DOS requires.
Default: \fBdos filetimes = no\fR
.TP
-\fB>encrypt passwords (G)\fR
+\fBencrypt passwords (G)\fR
This boolean controls whether encrypted passwords
will be negotiated with the client. Note that Windows NT 4.0 SP3 and
above and also Windows 98 will by default expect encrypted passwords
@@ -2588,15 +2618,16 @@ Samba see the file ENCRYPTION.txt in the Samba documentation
directory \fIdocs/\fR shipped with the source code.
In order for encrypted passwords to work correctly
-\fBsmbd\fR(8) must either
-have access to a local \fBsmbpasswd\fR(5) file (see the \fBsmbpasswd\fR(8) program for information on how to set up
+\fBsmbd(8)\fR must either
+have access to a local \fIsmbpasswd(5)
+\fR program for information on how to set up
and maintain this file), or set the security = [server|domain|ads] parameter which
causes \fBsmbd\fR to authenticate against another
server.
Default: \fBencrypt passwords = yes\fR
.TP
-\fB>enhanced browsing (G)\fR
+\fBenhanced browsing (G)\fR
This option enables a couple of enhancements to
cross-subnet browse propagation that have been added in Samba
but which are not standard in Microsoft implementations.
@@ -2617,7 +2648,7 @@ cross-subnet browse propagation much more reliable.
Default: \fBenhanced browsing = yes\fR
.TP
-\fB>enumports command (G)\fR
+\fBenumports command (G)\fR
The concept of a "port" is fairly foreign
to UNIX hosts. Under Windows NT/2000 print servers, a port
is associated with a port monitor and generally takes the form of
@@ -2638,10 +2669,10 @@ Default: \fBno enumports command\fR
Example: \fBenumports command = /usr/bin/listports
\fR
.TP
-\fB>exec (S)\fR
+\fBexec (S)\fR
This is a synonym for \fIpreexec\fR.
.TP
-\fB>fake directory create times (S)\fR
+\fBfake directory create times (S)\fR
NTFS and Windows VFAT file systems keep a create
time for all files and directories. This is not the same as the
ctime - status change time - that Unix keeps, so Samba by default
@@ -2670,7 +2701,7 @@ will proceed as expected.
Default: \fBfake directory create times = no\fR
.TP
-\fB>fake oplocks (S)\fR
+\fBfake oplocks (S)\fR
Oplocks are the way that SMB clients get permission
from a server to locally cache file operations. If a server grants
an oplock (opportunistic lock) then the client is free to assume
@@ -2695,10 +2726,10 @@ this option carefully!
Default: \fBfake oplocks = no\fR
.TP
-\fB>follow symlinks (S)\fR
+\fBfollow symlinks (S)\fR
This parameter allows the Samba administrator
-to stop \fBsmbd\fR(8) from following symbolic
-links in a particular share. Setting this
+to stop \fBsmbd(8)\fR
+from following symbolic links in a particular share. Setting this
parameter to no prevents any file or directory
that is a symbolic link from being followed (the user will get an
error). This option is very useful to stop users from adding a
@@ -2711,7 +2742,7 @@ follow symbolic links) by default.
Default: \fBfollow symlinks = yes\fR
.TP
-\fB>force create mode (S)\fR
+\fBforce create mode (S)\fR
This parameter specifies a set of UNIX mode bit
permissions that will \fBalways\fR be set on a
file created by Samba. This is done by bitwise 'OR'ing these bits onto
@@ -2735,7 +2766,7 @@ would force all created files to have read and execute
permissions set for 'group' and 'other' as well as the
read/write/execute bits set for the 'user'.
.TP
-\fB>force directory mode (S)\fR
+\fBforce directory mode (S)\fR
This parameter specifies a set of UNIX mode bit
permissions that will \fBalways\fR be set on a directory
created by Samba. This is done by bitwise 'OR'ing these bits onto the
@@ -2758,7 +2789,7 @@ would force all created directories to have read and execute
permissions set for 'group' and 'other' as well as the
read/write/execute bits set for the 'user'.
.TP
-\fB>force directory security mode (S)\fR
+\fBforce directory security mode (S)\fR
This parameter controls what UNIX permission bits
can be modified when a Windows NT client is manipulating the UNIX
permission on a directory using the native NT security dialog box.
@@ -2787,7 +2818,7 @@ Default: \fBforce directory security mode = 0\fR
Example: \fBforce directory security mode = 700\fR
.TP
-\fB>force group (S)\fR
+\fBforce group (S)\fR
This specifies a UNIX group name that will be
assigned as the default primary group for all users connecting
to this service. This is useful for sharing files by ensuring
@@ -2821,7 +2852,7 @@ Default: \fBno forced group\fR
Example: \fBforce group = agroup\fR
.TP
-\fB>force security mode (S)\fR
+\fBforce security mode (S)\fR
This parameter controls what UNIX permission
bits can be modified when a Windows NT client is manipulating
the UNIX permission on a file using the native NT security dialog
@@ -2851,7 +2882,7 @@ Default: \fBforce security mode = 0\fR
Example: \fBforce security mode = 700\fR
.TP
-\fB>force user (S)\fR
+\fBforce user (S)\fR
This specifies a UNIX user name that will be
assigned as the default user for all users connecting to this service.
This is useful for sharing files. You should also use it carefully
@@ -2875,10 +2906,11 @@ Default: \fBno forced user\fR
Example: \fBforce user = auser\fR
.TP
-\fB>fstype (S)\fR
+\fBfstype (S)\fR
This parameter allows the administrator to
configure the string that specifies the type of filesystem a share
-is using that is reported by \fBsmbd\fR(8) when a client queries the filesystem type
+is using that is reported by \fBsmbd(8)
+\fR when a client queries the filesystem type
for a share. The default type is NTFS for
compatibility with Windows NT but this can be changed to other
strings such as Samba or FAT
@@ -2888,7 +2920,7 @@ Default: \fBfstype = NTFS\fR
Example: \fBfstype = Samba\fR
.TP
-\fB>getwd cache (G)\fR
+\fBgetwd cache (G)\fR
This is a tuning option. When this is enabled a
caching algorithm will be used to reduce the time taken for getwd()
calls. This can have a significant impact on performance, especially
@@ -2897,11 +2929,11 @@ parameter is set to no.
Default: \fBgetwd cache = yes\fR
.TP
-\fB>group (S)\fR
+\fBgroup (S)\fR
Synonym for \fIforce
group\fR.
.TP
-\fB>guest account (S)\fR
+\fBguest account (S)\fR
This is a username which will be used for access
to services which are specified as \fI guest ok\fR (see below). Whatever privileges this
user has will be available to any client connecting to the guest service.
@@ -2925,20 +2957,16 @@ Default: \fBspecified at compile time, usually
Example: \fBguest account = ftp\fR
.TP
-\fB>guest ok (S)\fR
+\fBguest ok (S)\fR
If this parameter is yes for
a service, then no password is required to connect to the service.
Privileges will be those of the \fI guest account\fR.
-This paramater nullifies the benifits of setting
-\fIrestrict
-anonymous\fR = 2
-
See the section below on \fI security\fR for more information about this option.
Default: \fBguest ok = no\fR
.TP
-\fB>guest only (S)\fR
+\fBguest only (S)\fR
If this parameter is yes for
a service, then only guest connections to the service are permitted.
This parameter will have no effect if \fIguest ok\fR is not set for the service.
@@ -2947,13 +2975,13 @@ See the section below on \fI security\fR for more information about this option
Default: \fBguest only = no\fR
.TP
-\fB>hide dot files (S)\fR
+\fBhide dot files (S)\fR
This is a boolean parameter that controls whether
files starting with a dot appear as hidden files.
Default: \fBhide dot files = yes\fR
.TP
-\fB>hide files(S)\fR
+\fBhide files(S)\fR
This is a list of files or directories that are not
visible but are accessible. The DOS 'hidden' attribute is applied
to any files or directories that match.
@@ -2986,35 +3014,35 @@ SMB client (DAVE) available from
Thursby <URL:http://www.thursby.com> creates for internal use, and also still hides
all files beginning with a dot.
.TP
-\fB>hide local users(G)\fR
+\fBhide local users(G)\fR
This parameter toggles the hiding of local UNIX
users (root, wheel, floppy, etc) from remote clients.
Default: \fBhide local users = no\fR
.TP
-\fB>hide unreadable (G)\fR
+\fBhide unreadable (G)\fR
This parameter prevents clients from seeing the
existance of files that cannot be read. Defaults to off.
Default: \fBhide unreadable = no\fR
.TP
-\fB>hide unwriteable files (G)\fR
+\fBhide unwriteable files (G)\fR
This parameter prevents clients from seeing
the existance of files that cannot be written to. Defaults to off.
Note that unwriteable directories are shown as usual.
Default: \fBhide unwriteable = no\fR
.TP
-\fB>hide special files (G)\fR
+\fBhide special files (G)\fR
This parameter prevents clients from seeing
special files such as sockets, devices and fifo's in directory
listings.
Default: \fBhide special files = no\fR
.TP
-\fB>homedir map (G)\fR
+\fBhomedir map (G)\fR
If\fInis homedir
-\fR is yes, and \fBsmbd\fR(8) is also acting
+\fR is yes, and \fBsmbd(8)\fR is also acting
as a Win95/98 \fIlogon server\fR then this parameter
specifies the NIS (or YP) map from which the server for the user's
home directory should be extracted. At present, only the Sun
@@ -3038,7 +3066,7 @@ Default: \fBhomedir map = <empty string>\fR
Example: \fBhomedir map = amd.homedir\fR
.TP
-\fB>host msdfs (G)\fR
+\fBhost msdfs (G)\fR
This boolean parameter is only available
if Samba has been configured and compiled with the \fB --with-msdfs\fR option. If set to yes,
Samba will act as a Dfs server, and allow Dfs-aware clients
@@ -3050,7 +3078,7 @@ refer to msdfs_setup.html
Default: \fBhost msdfs = no\fR
.TP
-\fB>hostname lookups (G)\fR
+\fBhostname lookups (G)\fR
Specifies whether samba should use (expensive)
hostname lookups or use the ip addresses instead. An example place
where hostname lookups are currently used is when checking
@@ -3060,7 +3088,7 @@ Default: \fBhostname lookups = yes\fR
Example: \fBhostname lookups = no\fR
.TP
-\fB>hosts allow (S)\fR
+\fBhosts allow (S)\fR
A synonym for this parameter is \fIallow
hosts\fR.
@@ -3108,8 +3136,9 @@ deny access from one particular host
Note that access still requires suitable user-level passwords.
-See \fBtestparm\fR(1) for a way of testing your host access
-to see if it does what you expect.
+See \fBtestparm(1)\fR
+ for a way of testing your host access to see if it does
+what you expect.
Default: \fBnone (i.e., all hosts permitted access)
\fR
@@ -3117,7 +3146,7 @@ Default: \fBnone (i.e., all hosts permitted access)
Example: \fBallow hosts = 150.203.5. myhost.mynet.edu.au
\fR
.TP
-\fB>hosts deny (S)\fR
+\fBhosts deny (S)\fR
The opposite of \fIhosts allow\fR
- hosts listed here are \fBNOT\fR permitted access to
services unless the specific services have their own lists to override
@@ -3130,7 +3159,7 @@ Default: \fBnone (i.e., no hosts specifically excluded)
Example: \fBhosts deny = 150.203.4. badhost.mynet.edu.au
\fR
.TP
-\fB>hosts equiv (G)\fR
+\fBhosts equiv (G)\fR
If this global parameter is a non-null string,
it specifies the name of a file to read for the names of hosts
and users who will be allowed access without specifying a password.
@@ -3152,7 +3181,7 @@ Default: \fBno host equivalences\fR
Example: \fBhosts equiv = /etc/hosts.equiv\fR
.TP
-\fB>include (G)\fR
+\fBinclude (G)\fR
This allows you to include one config file
inside another. The file is included literally, as though typed
in place.
@@ -3165,7 +3194,7 @@ Default: \fBno file included\fR
Example: \fBinclude = /usr/local/samba/lib/admin_smb.conf
\fR
.TP
-\fB>inherit acls (S)\fR
+\fBinherit acls (S)\fR
This parameter can be used to ensure
that if default acls exist on parent directories,
they are always honored when creating a subdirectory.
@@ -3176,7 +3205,7 @@ default directory acls are propagated.
Default: \fBinherit acls = no\fR
.TP
-\fB>inherit permissions (S)\fR
+\fBinherit permissions (S)\fR
The permissions on new files and directories
are normally governed by \fI create mask\fR, \fIdirectory mask\fR, \fIforce create mode\fR
and \fIforce
@@ -3206,7 +3235,7 @@ See also \fIcreate mask
Default: \fBinherit permissions = no\fR
.TP
-\fB>interfaces (G)\fR
+\fBinterfaces (G)\fR
This option allows you to override the default
network interfaces list that Samba will use for browsing, name
registration and other NBT traffic. By default Samba will query
@@ -3257,7 +3286,7 @@ interfaces only\fR.
Default: \fBall active interfaces except 127.0.0.1
that are broadcast capable\fR
.TP
-\fB>invalid users (S)\fR
+\fBinvalid users (S)\fR
This is a list of users that should not be allowed
to login to this service. This is really a \fBparanoid\fR
check to absolutely ensure an improper setting does not breach
@@ -3289,7 +3318,7 @@ Default: \fBno invalid users\fR
Example: \fBinvalid users = root fred admin @wheel
\fR
.TP
-\fB>keepalive (G)\fR
+\fBkeepalive (G)\fR
The value of the parameter (an integer) represents
the number of seconds between \fIkeepalive\fR
packets. If this parameter is zero, no keepalive packets will be
@@ -3304,16 +3333,17 @@ Default: \fBkeepalive = 300\fR
Example: \fBkeepalive = 600\fR
.TP
-\fB>kernel oplocks (G)\fR
+\fBkernel oplocks (G)\fR
For UNIXes that support kernel based \fIoplocks\fR
(currently only IRIX and the Linux 2.4 kernel), this parameter
allows the use of them to be turned on or off.
Kernel oplocks support allows Samba \fIoplocks
\fR to be broken whenever a local UNIX process or NFS operation
-accesses a file that \fBsmbd\fR(8) has oplocked. This allows complete
-data consistency between SMB/CIFS, NFS and local file access (and is
-a \fBvery\fR cool feature :-).
+accesses a file that \fBsmbd(8)\fR
+ has oplocked. This allows complete data consistency between
+SMB/CIFS, NFS and local file access (and is a \fBvery\fR
+cool feature :-).
This parameter defaults to on, but is translated
to a no-op on systems that no not have the necessary kernel support.
@@ -3325,17 +3355,18 @@ and \fIlevel2 oplocks
Default: \fBkernel oplocks = yes\fR
.TP
-\fB>lanman auth (G)\fR
-This parameter determines whether or not \fBsmbd\fR(8) will attempt to authenticate users
-using the LANMAN password hash. If disabled, only clients which support NT
-password hashes (e.g. Windows NT/2000 clients, smbclient, etc... but not
-Windows 95/98 or the MS DOS network client) will be able to connect to the Samba host.
+\fBlanman auth (G)\fR
+This parameter determines whether or not smbd will
+attempt to authenticate users using the LANMAN password hash.
+If disabled, only clients which support NT password hashes (e.g. Windows
+NT/2000 clients, smbclient, etc... but not Windows 95/98 or the MS DOS
+network client) will be able to connect to the Samba host.
Default : \fBlanman auth = yes\fR
.TP
-\fB>large readwrite (G)\fR
-This parameter determines whether or not \fBsmbd\fR(8) supports the new 64k streaming
-read and write varient SMB requests introduced
+\fBlarge readwrite (G)\fR
+This parameter determines whether or not smbd
+supports the new 64k streaming read and write varient SMB requests introduced
with Windows 2000. Note that due to Windows 2000 client redirector bugs
this requires Samba to be running on a 64-bit capable operating system such
as IRIX, Solaris or a Linux 2.4 kernel. Can improve performance by 10% with
@@ -3344,18 +3375,18 @@ code paths.
Default : \fBlarge readwrite = yes\fR
.TP
-\fB>ldap admin dn (G)\fR
+\fBldap admin dn (G)\fR
The \fIldap admin dn\fR defines the Distinguished
Name (DN) name used by Samba to contact the ldap server when retreiving
user account information. The \fIldap
admin dn\fR is used in conjunction with the admin dn password
stored in the \fIprivate/secrets.tdb\fR file. See the
-\fBsmbpasswd\fR(8) man page for more information on how
-to accmplish this.
+\fBsmbpasswd(8)\fR man
+page for more information on how to accmplish this.
Default : \fBnone\fR
.TP
-\fB>ldap filter (G)\fR
+\fBldap filter (G)\fR
This parameter specifies the RFC 2254 compliant LDAP search filter.
The default is to match the login name with the uid
attribute for all entries matching the sambaAccount
@@ -3363,7 +3394,7 @@ objectclass. Note that this filter should only return one entry.
Default : \fBldap filter = (&(uid=%u)(objectclass=sambaAccount))\fR
.TP
-\fB>ldap port (G)\fR
+\fBldap port (G)\fR
This parameter is only available if Samba has been
configure to include the \fB--with-ldapsam\fR option
at compile time.
@@ -3378,7 +3409,7 @@ Default : \fBldap port = 636 ; if ldap ssl = on\fR
Default : \fBldap port = 389 ; if ldap ssl = off\fR
.TP
-\fB>ldap server (G)\fR
+\fBldap server (G)\fR
This parameter is only available if Samba has been
configure to include the \fB--with-ldapsam\fR option
at compile time.
@@ -3388,7 +3419,7 @@ server which should be queried to locate user account information.
Default : \fBldap server = localhost\fR
.TP
-\fB>ldap ssl (G)\fR
+\fBldap ssl (G)\fR
This option is used to define whether or not Samba should
use SSL when connecting to the ldap server
This is \fBNOT\fR related to
@@ -3416,23 +3447,23 @@ to configure. See \fIpassdb backend\fR
Default : \fBldap ssl = start_tls\fR
.TP
-\fB>ldap suffix (G)\fR
+\fBldap suffix (G)\fR
Specifies where user and machine accounts are added to the tree. Can be overriden by \fBldap user suffix\fR and \fBldap machine suffix\fR. It also used as the base dn for all ldap searches.
Default : \fBnone\fR
.TP
-\fB>ldap user suffix (G)\fR
+\fBldap user suffix (G)\fR
It specifies where users are added to the tree.
Default : \fBnone\fR
.TP
-\fB>ldap machine suffix (G)\fR
+\fBldap machine suffix (G)\fR
It specifies where machines should be
added to the ldap tree.
Default : \fBnone\fR
.TP
-\fB>ldap passwd sync (G)\fR
+\fBldap passwd sync (G)\fR
This option is used to define whether
or not Samba should sync the LDAP password with the NT
and LM hashes for normal accounts (NOT for
@@ -3454,7 +3485,7 @@ The \fIldap passwd sync\fR can be set to one of three values:
Default : \fBldap passwd sync = no\fR
.TP
-\fB>ldap trust ids (G)\fR
+\fBldap trust ids (G)\fR
Normally, Samba validates each entry
in the LDAP server against getpwnam(). This allows
LDAP to be used for Samba with the unix system using
@@ -3471,7 +3502,7 @@ same LDAP server.
Default: \fBldap trust ids = No\fR
.TP
-\fB>level2 oplocks (S)\fR
+\fBlevel2 oplocks (S)\fR
This parameter controls whether Samba supports
level2 (read-only) oplocks on a share.
@@ -3508,8 +3539,8 @@ parameters.
Default: \fBlevel2 oplocks = yes\fR
.TP
-\fB>lm announce (G)\fR
-This parameter determines if \fBnmbd\fR(8) will produce Lanman announce
+\fBlm announce (G)\fR
+This parameter determines if \fBnmbd(8)\fR will produce Lanman announce
broadcasts that are needed by OS/2 clients in order for them to see
the Samba server in their browse list. This parameter can have three
values, yes, no, or
@@ -3530,7 +3561,7 @@ Default: \fBlm announce = auto\fR
Example: \fBlm announce = yes\fR
.TP
-\fB>lm interval (G)\fR
+\fBlm interval (G)\fR
If Samba is set to produce Lanman announce
broadcasts needed by OS/2 clients (see the \fIlm announce\fR parameter) then this
parameter defines the frequency in seconds with which they will be
@@ -3545,7 +3576,7 @@ Default: \fBlm interval = 60\fR
Example: \fBlm interval = 120\fR
.TP
-\fB>load printers (G)\fR
+\fBload printers (G)\fR
A boolean variable that controls whether all
printers in the printcap will be loaded for browsing by default.
See the printers section for
@@ -3553,8 +3584,8 @@ more details.
Default: \fBload printers = yes\fR
.TP
-\fB>local master (G)\fR
-This option allows \fBnmbd\fR(8) to try and become a local master browser
+\fBlocal master (G)\fR
+This option allows \fB nmbd(8)\fR to try and become a local master browser
on a subnet. If set to no then \fB nmbd\fR will not attempt to become a local master browser
on a subnet and will also lose in all browsing elections. By
default this value is set to yes. Setting this value to yes doesn't
@@ -3566,10 +3597,10 @@ Setting this value to no will cause \fBnmbd\fR
Default: \fBlocal master = yes\fR
.TP
-\fB>lock dir (G)\fR
+\fBlock dir (G)\fR
Synonym for \fI lock directory\fR.
.TP
-\fB>lock directory (G)\fR
+\fBlock directory (G)\fR
This option specifies the directory where lock
files will be placed. The lock files are used to implement the
\fImax connections\fR
@@ -3579,7 +3610,7 @@ Default: \fBlock directory = ${prefix}/var/locks\fR
Example: \fBlock directory = /var/run/samba/locks\fR
.TP
-\fB>lock spin count (G)\fR
+\fBlock spin count (G)\fR
This parameter controls the number of times
that smbd should attempt to gain a byte range lock on the
behalf of a client request. Experiments have shown that
@@ -3591,7 +3622,7 @@ and FoxPro.
Default: \fBlock spin count = 2\fR
.TP
-\fB>lock spin time (G)\fR
+\fBlock spin time (G)\fR
The time in microseconds that smbd should
pause before attempting to gain a failed lock. See
\fIlock spin
@@ -3599,7 +3630,7 @@ count\fR for more details.
Default: \fBlock spin time = 10\fR
.TP
-\fB>locking (S)\fR
+\fBlocking (S)\fR
This controls whether or not locking will be
performed by the server in response to lock requests from the
client.
@@ -3622,7 +3653,7 @@ You should never need to set this parameter.
Default: \fBlocking = yes\fR
.TP
-\fB>log file (G)\fR
+\fBlog file (G)\fR
This option allows you to override the name
of the Samba log file (also known as the debug file).
@@ -3632,7 +3663,7 @@ you to have separate log files for each user or machine.
Example: \fBlog file = /usr/local/samba/var/log.%m
\fR
.TP
-\fB>log level (G)\fR
+\fBlog level (G)\fR
The value of the parameter (a astring) allows
the debug level (logging level) to be specified in the
\fIsmb.conf\fR file. This parameter has been
@@ -3646,7 +3677,7 @@ the command line or level zero if none was specified.
Example: \fBlog level = 3 passdb:5 auth:10 winbind:2
\fR
.TP
-\fB>logon drive (G)\fR
+\fBlogon drive (G)\fR
This parameter specifies the local path to
which the home directory will be connected (see \fIlogon home\fR)
and is only used by NT Workstations.
@@ -3658,7 +3689,7 @@ Default: \fBlogon drive = z:\fR
Example: \fBlogon drive = h:\fR
.TP
-\fB>logon home (G)\fR
+\fBlogon home (G)\fR
This parameter specifies the home directory
location when a Win95/98 or NT Workstation logs into a Samba PDC.
It allows you to do
@@ -3695,7 +3726,7 @@ Default: \fBlogon home = "\\\\%N\\%U"\fR
Example: \fBlogon home = "\\\\remote_smb_server\\%U"\fR
.TP
-\fB>logon path (G)\fR
+\fBlogon path (G)\fR
This parameter specifies the home directory
where roaming profiles (NTuser.dat etc files for Windows NT) are
stored. Contrary to previous versions of these manual pages, it has
@@ -3738,7 +3769,7 @@ Default: \fBlogon path = \\\\%N\\%U\\profile\fR
Example: \fBlogon path = \\\\PROFILESERVER\\PROFILE\\%U\fR
.TP
-\fB>logon script (G)\fR
+\fBlogon script (G)\fR
This parameter specifies the batch file (.bat) or
NT command file (.cmd) to be downloaded and run on a machine when
a user successfully logs in. The file must contain the DOS
@@ -3774,7 +3805,7 @@ Default: \fBno logon script defined\fR
Example: \fBlogon script = scripts\\%U.bat\fR
.TP
-\fB>lppause command (S)\fR
+\fBlppause command (S)\fR
This parameter specifies the command to be
executed on the server host in order to stop printing or spooling
a specific print job.
@@ -3813,7 +3844,7 @@ is SOFTQ, then the default is:
Example for HPUX: \fBlppause command = /usr/bin/lpalt
%p-%j -p0\fR
.TP
-\fB>lpq cache time (G)\fR
+\fBlpq cache time (G)\fR
This controls how long lpq info will be cached
for to prevent the \fBlpq\fR command being called too
often. A separate cache is kept for each variation of the \fB lpq\fR command used by the system, so if you use different
@@ -3837,7 +3868,7 @@ Default: \fBlpq cache time = 10\fR
Example: \fBlpq cache time = 30\fR
.TP
-\fB>lpq command (S)\fR
+\fBlpq command (S)\fR
This parameter specifies the command to be
executed on the server host in order to obtain \fBlpq
\fR-style printer status information.
@@ -3875,7 +3906,7 @@ Default: \fBdepends on the setting of \fI printing\fB\fR
Example: \fBlpq command = /usr/bin/lpq -P%p\fR
.TP
-\fB>lpresume command (S)\fR
+\fBlpresume command (S)\fR
This parameter specifies the command to be
executed on the server host in order to restart or continue
printing or spooling a specific print job.
@@ -3910,7 +3941,7 @@ is SOFTQ, then the default is:
Example for HPUX: \fBlpresume command = /usr/bin/lpalt
%p-%j -p2\fR
.TP
-\fB>lprm command (S)\fR
+\fBlprm command (S)\fR
This parameter specifies the command to be
executed on the server host in order to delete a print job.
@@ -3937,7 +3968,7 @@ Example 1: \fBlprm command = /usr/bin/lprm -P%p %j
Example 2: \fBlprm command = /usr/bin/cancel %p-%j
\fR
.TP
-\fB>machine password timeout (G)\fR
+\fBmachine password timeout (G)\fR
If a Samba server is a member of a Windows
NT Domain (see the security = domain)
parameter) then periodically a running smbd(8) process will try and change the MACHINE ACCOUNT
@@ -3946,11 +3977,12 @@ PASSWORD stored in the TDB called \fIprivate/secrets.tdb
will be changed, in seconds. The default is one week (expressed in
seconds), the same as a Windows NT Domain member server.
-See also \fBsmbpasswd\fR(8), and the security = domain) parameter.
+See also \fBsmbpasswd(8)
+\fR and the security = domain) parameter.
Default: \fBmachine password timeout = 604800\fR
.TP
-\fB>magic output (S)\fR
+\fBmagic output (S)\fR
This parameter specifies the name of a file
which will contain output created by a magic script (see the
\fImagic script\fR
@@ -3965,7 +3997,7 @@ Default: \fBmagic output = <magic script name>.out
Example: \fBmagic output = myfile.txt\fR
.TP
-\fB>magic script (S)\fR
+\fBmagic script (S)\fR
This parameter specifies the name of a file which,
if opened, will be executed by the server when the file is closed.
This allows a UNIX script to be sent to the Samba host and
@@ -3991,12 +4023,12 @@ Default: \fBNone. Magic scripts disabled.\fR
Example: \fBmagic script = user.csh\fR
.TP
-\fB>mangle case (S)\fR
+\fBmangle case (S)\fR
See the section on NAME MANGLING
Default: \fBmangle case = no\fR
.TP
-\fB>mangled map (S)\fR
+\fBmangled map (S)\fR
This is for those who want to directly map UNIX
file names which cannot be represented on Windows/DOS. The mangling
of names is not always what is needed. In particular you may have
@@ -4018,7 +4050,7 @@ Default: \fBno mangled map\fR
Example: \fBmangled map = (*;1 *;)\fR
.TP
-\fB>mangled names (S)\fR
+\fBmangled names (S)\fR
This controls whether non-DOS names under UNIX
should be mapped to DOS-compatible names ("mangled") and made visible,
or whether non-DOS names should simply be ignored.
@@ -4077,7 +4109,7 @@ do not change between sessions.
Default: \fBmangled names = yes\fR
.TP
-\fB>mangling method (G)\fR
+\fBmangling method (G)\fR
controls the algorithm used for the generating
the mangled names. Can take two different values, "hash" and
"hash2". "hash" is the default and is the algorithm that has been
@@ -4091,7 +4123,7 @@ Default: \fBmangling method = hash2\fR
Example: \fBmangling method = hash\fR
.TP
-\fB>mangle prefix (G)\fR
+\fBmangle prefix (G)\fR
controls the number of prefix
characters from the original name used when generating
the mangled names. A larger value will give a weaker
@@ -4102,9 +4134,9 @@ Default: \fBmangle prefix = 1\fR
Example: \fBmangle prefix = 4\fR
.TP
-\fB>mangled stack (G)\fR
+\fBmangled stack (G)\fR
This parameter controls the number of mangled names
-that should be cached in the Samba server \fBsmbd\fR(8).
+that should be cached in the Samba server smbd(8)
This stack is a list of recently mangled base names
(extensions are only maintained if they are longer than 3 characters
@@ -4122,7 +4154,7 @@ Default: \fBmangled stack = 50\fR
Example: \fBmangled stack = 100\fR
.TP
-\fB>mangling char (S)\fR
+\fBmangling char (S)\fR
This controls what character is used as
the \fBmagic\fR character in name mangling. The default is a '~'
but this may interfere with some software. Use this option to set
@@ -4132,7 +4164,7 @@ Default: \fBmangling char = ~\fR
Example: \fBmangling char = ^\fR
.TP
-\fB>map archive (S)\fR
+\fBmap archive (S)\fR
This controls whether the DOS archive attribute
should be mapped to the UNIX owner execute bit. The DOS archive bit
is set when a file has been modified since its last backup. One
@@ -4146,7 +4178,7 @@ parameter to be set such that owner execute bit is not masked out
Default: \fBmap archive = yes\fR
.TP
-\fB>map hidden (S)\fR
+\fBmap hidden (S)\fR
This controls whether DOS style hidden files
should be mapped to the UNIX world execute bit.
@@ -4156,7 +4188,7 @@ it must include 001). See the parameter \fIcreate mask\fR for details.
Default: \fBmap hidden = no\fR
.TP
-\fB>map system (S)\fR
+\fBmap system (S)\fR
This controls whether DOS style system files
should be mapped to the UNIX group execute bit.
@@ -4166,13 +4198,13 @@ it must include 010). See the parameter \fIcreate mask\fR for details.
Default: \fBmap system = no\fR
.TP
-\fB>map to guest (G)\fR
+\fBmap to guest (G)\fR
This parameter is only useful in security modes other than \fIsecurity = share\fR
- i.e. user, server,
and domain.
This parameter can take three different values, which tell
-\fBsmbd\fR(8) what to do with user
+smbd(8) what to do with user
login requests that don't match a valid UNIX user in some way.
The three settings are :
@@ -4217,7 +4249,7 @@ Default: \fBmap to guest = Never\fR
Example: \fBmap to guest = Bad User\fR
.TP
-\fB>max connections (S)\fR
+\fBmax connections (S)\fR
This option allows the number of simultaneous
connections to a service to be limited. If \fImax connections
\fR is greater than 0 then connections will be refused if
@@ -4232,7 +4264,7 @@ Default: \fBmax connections = 0\fR
Example: \fBmax connections = 10\fR
.TP
-\fB>max disk size (G)\fR
+\fBmax disk size (G)\fR
This option allows you to put an upper limit
on the apparent size of disks. If you set this option to 100
then all shares will appear to be not larger than 100 MB in
@@ -4255,7 +4287,7 @@ Default: \fBmax disk size = 0\fR
Example: \fBmax disk size = 1000\fR
.TP
-\fB>max log size (G)\fR
+\fBmax log size (G)\fR
This option (an integer in kilobytes) specifies
the max size the log file should grow to. Samba periodically checks
the size and if it is exceeded it will rename the file, adding
@@ -4267,16 +4299,16 @@ Default: \fBmax log size = 5000\fR
Example: \fBmax log size = 1000\fR
.TP
-\fB>max mux (G)\fR
+\fBmax mux (G)\fR
This option controls the maximum number of
outstanding simultaneous SMB operations that Samba tells the client
it will allow. You should never need to set this parameter.
Default: \fBmax mux = 50\fR
.TP
-\fB>max open files (G)\fR
+\fBmax open files (G)\fR
This parameter limits the maximum number of
-open files that one \fBsmbd\fR(8) file
+open files that one smbd(8) file
serving process may have open for a client at any one time. The
default for this parameter is set very high (10,000) as Samba uses
only one bit per unopened file.
@@ -4287,10 +4319,10 @@ this parameter so you should never need to touch this parameter.
Default: \fBmax open files = 10000\fR
.TP
-\fB>max print jobs (S)\fR
+\fBmax print jobs (S)\fR
This parameter limits the maximum number of
jobs allowable in a Samba printer queue at any given moment.
-If this number is exceeded, \fBsmbd\fR(8) will remote "Out of Space" to the client.
+If this number is exceeded, \fB smbd(8)\fR will remote "Out of Space" to the client.
See all \fItotal
print jobs\fR.
@@ -4298,7 +4330,7 @@ Default: \fBmax print jobs = 1000\fR
Example: \fBmax print jobs = 5000\fR
.TP
-\fB>max protocol (G)\fR
+\fBmax protocol (G)\fR
The value of the parameter (a string) is the highest
protocol level that will be supported by the server.
@@ -4336,22 +4368,22 @@ Default: \fBmax protocol = NT1\fR
Example: \fBmax protocol = LANMAN1\fR
.TP
-\fB>max smbd processes (G)\fR
+\fBmax smbd processes (G)\fR
This parameter limits the maximum number of
\fBsmbd(8)\fR
processes concurrently running on a system and is intended
as a stopgap to prevent degrading service to clients in the event
that the server has insufficient resources to handle more than this
number of connections. Remember that under normal operating
-conditions, each user will have an \fBsmbd\fR(8) associated with him or her
+conditions, each user will have an smbd associated with him or her
to handle connections to all shares from a given host.
Default: \fBmax smbd processes = 0\fR ## no limit
Example: \fBmax smbd processes = 1000\fR
.TP
-\fB>max ttl (G)\fR
-This option tells \fBnmbd\fR(8)
+\fBmax ttl (G)\fR
+This option tells nmbd(8)
what the default 'time to live' of NetBIOS names should be (in seconds)
when \fBnmbd\fR is requesting a name using either a
broadcast packet or from a WINS server. You should never need to
@@ -4359,8 +4391,9 @@ change this parameter. The default is 3 days.
Default: \fBmax ttl = 259200\fR
.TP
-\fB>max wins ttl (G)\fR
-This option tells \fBsmbd\fR(8) when acting as a WINS server ( \fIwins support = yes\fR) what the maximum
+\fBmax wins ttl (G)\fR
+This option tells nmbd(8)
+ when acting as a WINS server ( \fIwins support = yes\fR) what the maximum
\&'time to live' of NetBIOS names that \fBnmbd\fR
will grant will be (in seconds). You should never need to change this
parameter. The default is 6 days (518400 seconds).
@@ -4370,7 +4403,7 @@ wins ttl\fR parameter.
Default: \fBmax wins ttl = 518400\fR
.TP
-\fB>max xmit (G)\fR
+\fBmax xmit (G)\fR
This option controls the maximum packet size
that will be negotiated by Samba. The default is 65535, which
is the maximum. In some cases you may find you get better performance
@@ -4380,7 +4413,7 @@ Default: \fBmax xmit = 65535\fR
Example: \fBmax xmit = 8192\fR
.TP
-\fB>message command (G)\fR
+\fBmessage command (G)\fR
This specifies what command to run when the
server receives a WinPopup style message.
@@ -4443,10 +4476,10 @@ Default: \fBno message command\fR
Example: \fBmessage command = csh -c 'xedit %s;
rm %s' &\fR
.TP
-\fB>min passwd length (G)\fR
+\fBmin passwd length (G)\fR
Synonym for \fImin password length\fR.
.TP
-\fB>min password length (G)\fR
+\fBmin password length (G)\fR
This option sets the minimum length in characters
of a plaintext password that \fBsmbd\fR will accept when performing
UNIX password changing.
@@ -4457,7 +4490,7 @@ password sync\fR, \fIpasswd program\fR and \fIpasswd chat debug\fR
Default: \fBmin password length = 5\fR
.TP
-\fB>min print space (S)\fR
+\fBmin print space (S)\fR
This sets the minimum amount of free disk
space that must be available before a user will be able to spool
a print job. It is specified in kilobytes. The default is 0, which
@@ -4470,7 +4503,7 @@ Default: \fBmin print space = 0\fR
Example: \fBmin print space = 2000\fR
.TP
-\fB>min protocol (G)\fR
+\fBmin protocol (G)\fR
The value of the parameter (a string) is the
lowest SMB protocol dialect than Samba will support. Please refer
to the \fImax protocol\fR
@@ -4489,8 +4522,8 @@ Default : \fBmin protocol = CORE\fR
Example : \fBmin protocol = NT1\fR # disable DOS
clients
.TP
-\fB>min wins ttl (G)\fR
-This option tells \fBnmbd\fR(8)
+\fBmin wins ttl (G)\fR
+This option tells nmbd(8)
when acting as a WINS server (\fI wins support = yes\fR) what the minimum 'time to live'
of NetBIOS names that \fBnmbd\fR will grant will be (in
seconds). You should never need to change this parameter. The default
@@ -4498,7 +4531,7 @@ is 6 hours (21600 seconds).
Default: \fBmin wins ttl = 21600\fR
.TP
-\fB>msdfs proxy (S)\fR
+\fBmsdfs proxy (S)\fR
This parameter indicates that the share is a
stand-in for another CIFS share whose location is specified by
the value of the parameter. When clients attempt to connect to
@@ -4511,25 +4544,25 @@ and
\fIhost msdfs\fR
options to find out how to set up a Dfs root share.
-Example: \fBmsdfs proxy = \\\\\\\\otherserver\\\\someshare\fR
+Example: \fBmsdfs proxy = \\otherserver\\someshare\fR
.TP
-\fB>msdfs root (S)\fR
+\fBmsdfs root (S)\fR
This boolean parameter is only available if
Samba is configured and compiled with the \fB --with-msdfs\fR option. If set to yes,
Samba treats the share as a Dfs root and allows clients to browse
the distributed file system tree rooted at the share directory.
Dfs links are specified in the share directory by symbolic
-links of the form \fImsdfs:serverA\\\\shareA,serverB\\\\shareB\fR
+links of the form \fImsdfs:serverA\\shareA,serverB\\shareB\fR
and so on. For more information on setting up a Dfs tree
-on Samba, refer to "Hosting a Microsoft
-Distributed File System tree on Samba" document.
+on Samba, refer to msdfs_setup.html
+
See also \fIhost msdfs
\fR
Default: \fBmsdfs root = no\fR
.TP
-\fB>name cache timeout (G)\fR
+\fBname cache timeout (G)\fR
Specifies the number of seconds it takes before
entries in samba's hostname resolve cache time out. If
the timeout is set to 0. the caching is disabled.
@@ -4538,7 +4571,7 @@ Default: \fBname cache timeout = 660\fR
Example: \fBname cache timeout = 0\fR
.TP
-\fB>name resolve order (G)\fR
+\fBname resolve order (G)\fR
This option is used by the programs in the Samba
suite to determine what naming services to use and in what order
to resolve host names to IP addresses. The option takes a space
@@ -4587,7 +4620,7 @@ This will cause the local lmhosts file to be examined
first, followed by a broadcast attempt, followed by a normal
system hostname lookup.
.TP
-\fB>netbios aliases (G)\fR
+\fBnetbios aliases (G)\fR
This is a list of NetBIOS names that nmbd(8) will advertise as additional
names by which the Samba server is known. This allows one machine
to appear in browse lists under multiple names. If a machine is
@@ -4603,7 +4636,7 @@ Default: \fBempty string (no additional names)\fR
Example: \fBnetbios aliases = TEST TEST1 TEST2\fR
.TP
-\fB>netbios name (G)\fR
+\fBnetbios name (G)\fR
This sets the NetBIOS name by which a Samba
server is known. By default it is the same as the first component
of the host's DNS name. If a machine is a browse server or
@@ -4618,12 +4651,12 @@ Default: \fBmachine DNS name\fR
Example: \fBnetbios name = MYNAME\fR
.TP
-\fB>netbios scope (G)\fR
+\fBnetbios scope (G)\fR
This sets the NetBIOS scope that Samba will
operate under. This should not be set unless every machine
on your LAN also sets this value.
.TP
-\fB>nis homedir (G)\fR
+\fBnis homedir (G)\fR
Get the home share server from a NIS map. For
UNIX systems that use an automounter, the user's home directory
will often be mounted on a workstation on demand from a remote
@@ -4650,7 +4683,7 @@ be a logon server.
Default: \fBnis homedir = no\fR
.TP
-\fB>non unix account range (G)\fR
+\fBnon unix account range (G)\fR
The non unix account range parameter specifies
the range of 'user ids' that are allocated by the various 'non unix
account' passdb backends. These backends allow
@@ -4668,7 +4701,7 @@ Default: \fBnon unix account range = <empty string>
Example: \fBnon unix account range = 10000-20000\fR
.TP
-\fB>nt acl support (S)\fR
+\fBnt acl support (S)\fR
This boolean parameter controls whether
smbd(8) will attempt to map
UNIX permissions into Windows NT access control lists.
@@ -4677,16 +4710,16 @@ prior to 2.2.2.
Default: \fBnt acl support = yes\fR
.TP
-\fB>nt pipe support (G)\fR
+\fBnt pipe support (G)\fR
This boolean parameter controls whether
-\fBsmbd\fR(8) will allow Windows NT
+smbd(8) will allow Windows NT
clients to connect to the NT SMB specific IPC$
pipes. This is a developer debugging option and can be left
alone.
Default: \fBnt pipe support = yes\fR
.TP
-\fB>nt status support (G)\fR
+\fBnt status support (G)\fR
This boolean parameter controls whether smbd(8) will negotiate NT specific status
support with Windows NT/2k/XP clients. This is a developer
debugging option and should be left alone.
@@ -4698,15 +4731,15 @@ You should not need to ever disable this parameter.
Default: \fBnt status support = yes\fR
.TP
-\fB>null passwords (G)\fR
+\fBnull passwords (G)\fR
Allow or disallow client access to accounts
that have null passwords.
-See also \fBsmbpasswd\fR(5).
+See also smbpasswd (5)
Default: \fBnull passwords = no\fR
.TP
-\fB>obey pam restrictions (G)\fR
+\fBobey pam restrictions (G)\fR
When Samba 2.2 is configured to enable PAM support
(i.e. --with-pam), this parameter will control whether or not Samba
should obey PAM's account and session management directives. The
@@ -4718,7 +4751,7 @@ authentication mechanism needed in the presence of SMB password encryption.
Default: \fBobey pam restrictions = no\fR
.TP
-\fB>only user (S)\fR
+\fBonly user (S)\fR
This is a boolean option that controls whether
connections with usernames not in the \fIuser\fR
list will be allowed. By default this option is disabled so that a
@@ -4740,10 +4773,10 @@ parameter.
Default: \fBonly user = no\fR
.TP
-\fB>only guest (S)\fR
+\fBonly guest (S)\fR
A synonym for \fI guest only\fR.
.TP
-\fB>oplock break wait time (G)\fR
+\fBoplock break wait time (G)\fR
This is a tuning parameter added due to bugs in
both Windows 9x and WinNT. If Samba responds to a client too
quickly when that client issues an SMB that can cause an oplock
@@ -4757,14 +4790,15 @@ AND UNDERSTOOD THE SAMBA OPLOCK CODE\fR.
Default: \fBoplock break wait time = 0\fR
.TP
-\fB>oplock contention limit (S)\fR
+\fBoplock contention limit (S)\fR
This is a \fBvery\fR advanced
smbd(8) tuning option to
improve the efficiency of the granting of oplocks under multiple
client contention for the same file.
-In brief it specifies a number, which causes \fBsmbd\fR(8)not to grant an oplock even when requested
-if the approximate number of clients contending for an oplock on the same file goes over this
+In brief it specifies a number, which causes smbd not to
+grant an oplock even when requested if the approximate number of
+clients contending for an oplock on the same file goes over this
limit. This causes \fBsmbd\fR to behave in a similar
way to Windows NT.
@@ -4773,7 +4807,7 @@ AND UNDERSTOOD THE SAMBA OPLOCK CODE\fR.
Default: \fBoplock contention limit = 2\fR
.TP
-\fB>oplocks (S)\fR
+\fBoplocks (S)\fR
This boolean option tells \fBsmbd\fR whether to
issue oplocks (opportunistic locks) to file open requests on this
share. The oplock code can dramatically (approx. 30% or more) improve
@@ -4796,21 +4830,19 @@ oplocks\fR and \fI level2 oplocks\fR parameters.
Default: \fBoplocks = yes\fR
.TP
-\fB>ntlm auth (G)\fR
-This parameter determines
-whether or not \fBsmbd\fR(8) will
+\fBntlm auth (G)\fR
+This parameter determines whether or not smbd will
attempt to authenticate users using the NTLM password hash.
If disabled, only the lanman password hashes will be used.
-Please note that at least this option or \fBlanman auth\fR should
-be enabled in order to be able to log in.
+Please note that at least this option or \fBlanman auth\fR should be enabled in order to be able to log in.
Default : \fBntlm auth = yes\fR
.TP
-\fB>os level (G)\fR
+\fBos level (G)\fR
This integer value controls what level Samba
advertises itself as for browse elections. The value of this
-parameter determines whether \fBnmbd\fR(8)
+parameter determines whether nmbd(8)
has a chance of becoming a local master browser for the \fI WORKGROUP\fR in the local broadcast area.
\fBNote :\fRBy default, Samba will win
@@ -4825,7 +4857,7 @@ Default: \fBos level = 20\fR
Example: \fBos level = 65 \fR
.TP
-\fB>os2 driver map (G)\fR
+\fBos2 driver map (G)\fR
The parameter is used to define the absolute
path to a file containing a mapping of Windows NT printer driver
names to OS/2 printer driver names. The format is:
@@ -4840,12 +4872,13 @@ LaserJet 5L\fR.
The need for the file is due to the printer driver namespace
problem described in the Samba
Printing HOWTO For more details on OS/2 clients, please
-refer to the OS2-Client-HOWTO containing in the Samba documentation.
+refer to the OS2-Client-HOWTO
+ containing in the Samba documentation.
Default: \fBos2 driver map = <empty string>
\fR
.TP
-\fB>pam password change (G)\fR
+\fBpam password change (G)\fR
With the addition of better PAM support in Samba 2.2,
this parameter, it is possible to use PAM's password change control
flag for Samba. If enabled, then PAM will be used for password
@@ -4857,28 +4890,25 @@ parameter for most setups.
Default: \fBpam password change = no\fR
.TP
-\fB>panic action (G)\fR
+\fBpanic action (G)\fR
This is a Samba developer option that allows a
-system command to be called when either \fBsmbd\fR(8) or \fBsmbd\fR(8) crashes. This is usually used to
-draw attention to the fact that a problem occurred.
+system command to be called when either smbd(8)
+crashes. This is usually used to draw attention to the fact that
+a problem occurred.
Default: \fBpanic action = <empty string>\fR
Example: \fBpanic action = "/bin/sleep 90000"\fR
.TP
-\fB>paranoid server security (G)\fR
+\fBparanoid server security (G)\fR
Some version of NT 4.x allow non-guest
users with a bad passowrd. When this option is enabled, samba will not
use a broken NT 4.x server as password server, but instead complain
-to the logs and exit.
-
-Disabling this option prevents Samba from making
-this check, which involves deliberatly attempting a
-bad logon to the remote server.
+to the logs and exit.
Default: \fBparanoid server security = yes\fR
.TP
-\fB>passdb backend (G)\fR
+\fBpassdb backend (G)\fR
This option allows the administrator to chose which backends to retrieve and store passwords with. This allows (for example) both
smbpasswd and tdbsam to be used without a recompile.
Multiple backends can be specified, separated by spaces. The backends will be searched in the order they are specified. New users are always added to the first backend specified.
@@ -4969,11 +4999,11 @@ Example: \fBpassdb backend = ldapsam_nua:ldaps://ldap.example.com unixsam\fR
Example: \fBpassdb backend = plugin:/usr/local/samba/lib/my_passdb.so:my_plugin_args tdbsam:/etc/samba/private/passdb.tdb\fR
.TP
-\fB>passwd chat (G)\fR
+\fBpasswd chat (G)\fR
This string controls the \fB"chat"\fR
-conversation that takes places between \fBsmbd\fR(8) and the local password changing
+conversation that takes places between smbd and the local password changing
program to change the user's password. The string describes a
-sequence of response-receive pairs that \fBsmbd\fR(8) uses to determine what to send to the
+sequence of response-receive pairs that smbd(8) uses to determine what to send to the
\fIpasswd program\fR
and what to expect back. If the expected output is not
received then the password is not changed.
@@ -4993,7 +5023,7 @@ executed on the NIS master.
The string can contain the macro \fI%n\fR which is substituted
for the new password. The chat sequence can also contain the standard
-macros \\\\n, \\\\r, \\\\t and \\\\s to give line-feed,
+macros \\n, \\r, \\t and \\s to give line-feed,
carriage-return, tab and space. The chat sequence string can also contain
a '*' which matches any sequence of characters.
Double quotes can be used to collect strings with spaces
@@ -5011,18 +5041,18 @@ not any particular output. The \\n macro is ignored for PAM conversions.
See also \fIunix password
sync\fR, \fI passwd program\fR , \fIpasswd chat debug\fR and \fIpam password change\fR.
-Default: \fBpasswd chat = *new*password* %n\\\\n
-*new*password* %n\\\\n *changed*\fR
+Default: \fBpasswd chat = *new*password* %n\\n
+*new*password* %n\\n *changed*\fR
-Example: \fBpasswd chat = "*Enter OLD password*" %o\\\\n
-"*Enter NEW password*" %n\\\\n "*Reenter NEW password*" %n\\\\n "*Password
+Example: \fBpasswd chat = "*Enter OLD password*" %o\\n
+"*Enter NEW password*" %n\\n "*Reenter NEW password*" %n\\n "*Password
changed*"\fR
.TP
-\fB>passwd chat debug (G)\fR
+\fBpasswd chat debug (G)\fR
This boolean specifies if the passwd chat script
parameter is run in \fBdebug\fR mode. In this mode the
strings passed to and received from the passwd chat are printed
-in the \fBsmbd\fR(8) log with a
+in the smbd(8) log with a
\fIdebug level\fR
of 100. This is a dangerous option as it will allow plaintext passwords
to be seen in the \fBsmbd\fR log. It is available to help
@@ -5039,7 +5069,7 @@ See also \fIpasswd chat\fR
Default: \fBpasswd chat debug = no\fR
.TP
-\fB>passwd program (G)\fR
+\fBpasswd program (G)\fR
The name of a program that can be used to set
UNIX user passwords. Any occurrences of \fI%u\fR
will be replaced with the user name. The user name is checked for
@@ -5072,7 +5102,7 @@ Default: \fBpasswd program = /bin/passwd\fR
Example: \fBpasswd program = /sbin/npasswd %u\fR
.TP
-\fB>password level (G)\fR
+\fBpassword level (G)\fR
Some client/server combinations have difficulty
with mixed-case passwords. One offending client is Windows for
Workgroups, which for some reason forces passwords to upper
@@ -5110,7 +5140,7 @@ Default: \fBpassword level = 0\fR
Example: \fBpassword level = 4\fR
.TP
-\fB>password server (G)\fR
+\fBpassword server (G)\fR
By specifying the name of another SMB server (such
as a WinNT box) with this option, and using \fBsecurity = domain
\fR or \fBsecurity = server\fR you can get Samba
@@ -5201,7 +5231,7 @@ Example: \fBpassword server = NT-PDC, NT-BDC1, NT-BDC2, *
Example: \fBpassword server = *\fR
.TP
-\fB>path (S)\fR
+\fBpath (S)\fR
This parameter specifies a directory to which
the user of the service is to be given access. In the case of
printable services, this is where print data will spool prior to
@@ -5226,7 +5256,7 @@ Default: \fBnone\fR
Example: \fBpath = /home/fred\fR
.TP
-\fB>pid directory (G)\fR
+\fBpid directory (G)\fR
This option specifies the directory where pid
files will be placed.
@@ -5234,8 +5264,8 @@ Default: \fBpid directory = ${prefix}/var/locks\fR
Example: \fBpid directory = /var/run/\fR
.TP
-\fB>posix locking (S)\fR
-The \fBsmbd\fR(8)
+\fBposix locking (S)\fR
+The \fBsmbd(8)\fR
daemon maintains an database of file locks obtained by SMB clients.
The default behavior is to map this internal database to POSIX
locks. This means that file locks obtained by SMB clients are
@@ -5245,7 +5275,7 @@ You should never need to disable this parameter.
Default: \fBposix locking = yes\fR
.TP
-\fB>postexec (S)\fR
+\fBpostexec (S)\fR
This option specifies a command to be run
whenever the service is disconnected. It takes the usual
substitutions. The command may be run as the root on some
@@ -5264,7 +5294,7 @@ Default: \fBnone (no command executed)\fR
Example: \fBpostexec = echo \\"%u disconnected from %S
from %m (%I)\\" >> /tmp/log\fR
.TP
-\fB>postscript (S)\fR
+\fBpostscript (S)\fR
This parameter forces a printer to interpret
the print files as PostScript. This is done by adding a %!
to the start of print output.
@@ -5275,7 +5305,7 @@ confuses your printer.
Default: \fBpostscript = no\fR
.TP
-\fB>preexec (S)\fR
+\fBpreexec (S)\fR
This option specifies a command to be run whenever
the service is connected to. It takes the usual substitutions.
@@ -5297,14 +5327,14 @@ Default: \fBnone (no command executed)\fR
Example: \fBpreexec = echo \\"%u connected to %S from %m
(%I)\\" >> /tmp/log\fR
.TP
-\fB>preexec close (S)\fR
+\fBpreexec close (S)\fR
This boolean option controls whether a non-zero
return code from \fIpreexec
\fR should close the service being connected to.
Default: \fBpreexec close = no\fR
.TP
-\fB>preferred master (G)\fR
+\fBpreferred master (G)\fR
This boolean parameter controls if nmbd(8) is a preferred master browser
for its workgroup.
@@ -5325,10 +5355,10 @@ See also \fIos level\fR
Default: \fBpreferred master = auto\fR
.TP
-\fB>prefered master (G)\fR
+\fBprefered master (G)\fR
Synonym for \fI preferred master\fR for people who cannot spell :-).
.TP
-\fB>preload (G)\fR
+\fBpreload (G)\fR
This is a list of services that you want to be
automatically added to the browse lists. This is most useful
for homes and printers services that would otherwise not be
@@ -5341,7 +5371,7 @@ Default: \fBno preloaded services\fR
Example: \fBpreload = fred lp colorlp\fR
.TP
-\fB>preserve case (S)\fR
+\fBpreserve case (S)\fR
This controls if new filenames are created
with the case that the client passes, or if they are forced to
be the \fIdefault case
@@ -5352,7 +5382,7 @@ Default: \fBpreserve case = yes\fR
See the section on NAME
MANGLING for a fuller discussion.
.TP
-\fB>print command (S)\fR
+\fBprint command (S)\fR
After a print job has finished spooling to
a service, this command will be used via a \fBsystem()\fR
call to process the spool file. Typically the command specified will
@@ -5437,10 +5467,10 @@ set print command will be ignored.
Example: \fBprint command = /usr/local/samba/bin/myprintscript
%p %s\fR
.TP
-\fB>print ok (S)\fR
+\fBprint ok (S)\fR
Synonym for \fIprintable\fR.
.TP
-\fB>printable (S)\fR
+\fBprintable (S)\fR
If this parameter is yes, then
clients may open, write to and submit spool files on the directory
specified for the service.
@@ -5453,10 +5483,10 @@ the resource.
Default: \fBprintable = no\fR
.TP
-\fB>printcap (G)\fR
+\fBprintcap (G)\fR
Synonym for \fI printcap name\fR.
.TP
-\fB>printcap name (G)\fR
+\fBprintcap name (G)\fR
This parameter may be used to override the
compiled-in default printcap name used by the server (usually \fI /etc/printcap\fR). See the discussion of the [printers] section above for reasons
why you might want to do this.
@@ -5480,11 +5510,12 @@ A minimal printcap file would look something like this:
.nf
-print1|My Printer 1
-print2|My Printer 2
-print3|My Printer 3
-print4|My Printer 4
-print5|My Printer 5
+ print1|My Printer 1
+ print2|My Printer 2
+ print3|My Printer 3
+ print4|My Printer 4
+ print5|My Printer 5
+
.fi
where the '|' separates aliases of a printer. The fact
@@ -5500,7 +5531,7 @@ Default: \fBprintcap name = /etc/printcap\fR
Example: \fBprintcap name = /etc/myprintcap\fR
.TP
-\fB>printer admin (S)\fR
+\fBprinter admin (S)\fR
This is a list of users that can do anything to
printers via the remote administration interfaces offered by MS-RPC
(usually using a NT workstation). Note that the root user always
@@ -5510,7 +5541,7 @@ Default: \fBprinter admin = <empty string>\fR
Example: \fBprinter admin = admin, @staff\fR
.TP
-\fB>printer driver (S)\fR
+\fBprinter driver (S)\fR
\fBNote :\fRThis is a deprecated
parameter and will be removed in the next major release
following version 2.2. Please see the instructions in
@@ -5536,7 +5567,7 @@ driver file\fR.
Example: \fBprinter driver = HP LaserJet 4L\fR
.TP
-\fB>printer driver file (G)\fR
+\fBprinter driver file (G)\fR
\fBNote :\fRThis is a deprecated
parameter and will be removed in the next major release
following version 2.2. Please see the instructions in
@@ -5564,7 +5595,7 @@ Default: \fBNone (set in compile).\fR
Example: \fBprinter driver file =
/usr/local/samba/printers/drivers.def\fR
.TP
-\fB>printer driver location (S)\fR
+\fBprinter driver location (S)\fR
\fBNote :\fRThis is a deprecated
parameter and will be removed in the next major release
following version 2.2. Please see the instructions in
@@ -5591,7 +5622,7 @@ Default: \fBnone\fR
Example: \fBprinter driver location = \\\\MACHINE\\PRINTER$
\fR
.TP
-\fB>printer name (S)\fR
+\fBprinter name (S)\fR
This parameter specifies the name of the printer
to which print jobs spooled through a printable service will be sent.
@@ -5604,10 +5635,10 @@ on many systems)\fR
Example: \fBprinter name = laserwriter\fR
.TP
-\fB>printer (S)\fR
+\fBprinter (S)\fR
Synonym for \fI printer name\fR.
.TP
-\fB>printing (S)\fR
+\fBprinting (S)\fR
This parameters controls how printer status
information is interpreted on your system. It also affects the
default values for the \fIprint command\fR,
@@ -5630,21 +5661,21 @@ This option can be set on a per printer basis
See also the discussion in the [printers] section.
.TP
-\fB>private dir (G)\fR
+\fBprivate dir (G)\fR
This parameters defines the directory
smbd will use for storing such files as \fIsmbpasswd\fR
and \fIsecrets.tdb\fR.
Default :\fBprivate dir = ${prefix}/private\fR
.TP
-\fB>protocol (G)\fR
+\fBprotocol (G)\fR
Synonym for \fImax protocol\fR.
.TP
-\fB>public (S)\fR
+\fBpublic (S)\fR
Synonym for \fIguest
ok\fR.
.TP
-\fB>queuepause command (S)\fR
+\fBqueuepause command (S)\fR
This parameter specifies the command to be
executed on the server host in order to pause the printer queue.
@@ -5668,7 +5699,7 @@ Default: \fBdepends on the setting of \fIprinting
Example: \fBqueuepause command = disable %p\fR
.TP
-\fB>queueresume command (S)\fR
+\fBqueueresume command (S)\fR
This parameter specifies the command to be
executed on the server host in order to resume the printer queue. It
is the command to undo the behavior that is caused by the
@@ -5695,7 +5726,7 @@ Default: \fBdepends on the setting of \fIprinting\fB\fR
Example: \fBqueuepause command = enable %p
\fR
.TP
-\fB>read bmpx (G)\fR
+\fBread bmpx (G)\fR
This boolean parameter controls whether smbd(8) will support the "Read
Block Multiplex" SMB. This is now rarely used and defaults to
no. You should never need to set this
@@ -5703,7 +5734,7 @@ parameter.
Default: \fBread bmpx = no\fR
.TP
-\fB>read list (S)\fR
+\fBread list (S)\fR
This is a list of users that are given read-only
access to a service. If the connecting user is in this list then
they will not be given write access, no matter what the \fIread only\fR
@@ -5717,7 +5748,7 @@ Default: \fBread list = <empty string>\fR
Example: \fBread list = mary, @students\fR
.TP
-\fB>read only (S)\fR
+\fBread only (S)\fR
An inverted synonym is \fIwriteable\fR.
If this parameter is yes, then users
@@ -5730,7 +5761,7 @@ will \fBALWAYS\fR allow writing to the directory
Default: \fBread only = yes\fR
.TP
-\fB>read raw (G)\fR
+\fBread raw (G)\fR
This parameter controls whether or not the server
will support the raw read SMB requests when transferring data
to clients.
@@ -5747,7 +5778,7 @@ tool and left severely alone. See also \fIwrite raw\fR.
Default: \fBread raw = yes\fR
.TP
-\fB>read size (G)\fR
+\fBread size (G)\fR
The option \fIread size\fR
affects the overlap of disk reads/writes with network reads/writes.
If the amount of data being transferred in several of the SMB
@@ -5771,7 +5802,7 @@ Default: \fBread size = 16384\fR
Example: \fBread size = 8192\fR
.TP
-\fB>realm (G)\fR
+\fBrealm (G)\fR
This option specifies the kerberos realm to use. The realm is
used as the ADS equivalent of the NT4\fBdomain\fR. It
is usually set to the DNS name of the kerberos server.
@@ -5780,7 +5811,7 @@ Default: \fBrealm = \fR
Example: \fBrealm = mysambabox.mycompany.com\fR
.TP
-\fB>remote announce (G)\fR
+\fBremote announce (G)\fR
This option allows you to setup nmbd(8) to periodically announce itself
to arbitrary IP addresses with an arbitrary workgroup name.
@@ -5804,13 +5835,13 @@ The IP addresses you choose would normally be the broadcast
addresses of the remote networks, but can also be the IP addresses
of known browse masters if your network config is that stable.
-See the documentation file BROWSING
+See the documentation file \fIBROWSING.txt\fR
in the \fIdocs/\fR directory.
Default: \fBremote announce = <empty string>
\fR
.TP
-\fB>remote browse sync (G)\fR
+\fBremote browse sync (G)\fR
This option allows you to setup nmbd(8) to periodically request
synchronization of browse lists with the master browser of a Samba
server that is on a remote segment. This option will allow you to
@@ -5841,7 +5872,7 @@ is in fact the browse master on its segment.
Default: \fBremote browse sync = <empty string>
\fR
.TP
-\fB>restrict anonymous (G)\fR
+\fBrestrict anonymous (G)\fR
This is a integer parameter, and
mirrors as much as possible the functinality the
RestrictAnonymous
@@ -5849,13 +5880,13 @@ registry key does on NT/Win2k.
Default: \fBrestrict anonymous = 0\fR
.TP
-\fB>root (G)\fR
+\fBroot (G)\fR
Synonym for \fIroot directory"\fR.
.TP
-\fB>root dir (G)\fR
+\fBroot dir (G)\fR
Synonym for \fIroot directory"\fR.
.TP
-\fB>root directory (G)\fR
+\fBroot directory (G)\fR
The server will \fBchroot()\fR (i.e.
Change its root directory) to this directory on startup. This is
not strictly necessary for secure operation. Even without it the
@@ -5882,7 +5913,7 @@ Default: \fBroot directory = /\fR
Example: \fBroot directory = /homes/smb\fR
.TP
-\fB>root postexec (S)\fR
+\fBroot postexec (S)\fR
This is the same as the \fIpostexec\fR
parameter except that the command is run as root. This
is useful for unmounting filesystems
@@ -5893,7 +5924,7 @@ See also \fI postexec\fR.
Default: \fBroot postexec = <empty string>
\fR
.TP
-\fB>root preexec (S)\fR
+\fBroot preexec (S)\fR
This is the same as the \fIpreexec\fR
parameter except that the command is run as root. This
is useful for mounting filesystems (such as CDROMs) when a
@@ -5904,7 +5935,7 @@ See also \fI preexec\fR and \fIpreexec close\fR.
Default: \fBroot preexec = <empty string>
\fR
.TP
-\fB>root preexec close (S)\fR
+\fBroot preexec close (S)\fR
This is the same as the \fIpreexec close
\fR parameter except that the command is run as root.
@@ -5912,12 +5943,13 @@ See also \fI preexec\fR and \fIpreexec close\fR.
Default: \fBroot preexec close = no\fR
.TP
-\fB>security (G)\fR
+\fBsecurity (G)\fR
This option affects how clients respond to
Samba and is one of the most important settings in the \fI smb.conf\fR file.
The option sets the "security mode bit" in replies to
-protocol negotiations with \fBsmbd\fR(8) to turn share level security on or off. Clients decide
+protocol negotiations with smbd(8)
+ to turn share level security on or off. Clients decide
based on this bit whether (and how) to transfer user and password
information to the server.
@@ -5958,7 +5990,7 @@ level security under different \fINetBIOS aliases\fR.
The different settings will now be explained.
->\fBSECURITY = SHARE
+\fBSECURITY = SHARE
\fR
When clients connect to a share level security server they
@@ -6026,10 +6058,10 @@ be used in granting access.
See also the section NOTE ABOUT USERNAME/PASSWORD VALIDATION.
->\fBSECURITY = USER
+\fBSECURITY = USER
\fR
-This is the default security setting in Samba 3.0.
+This is the default security setting in Samba 2.2.
With user-level security a client must first "log-on" with a
valid username and password (which can be mapped using the \fIusername map\fR
parameter). Encrypted passwords (see the \fIencrypted passwords\fR parameter) can also
@@ -6047,24 +6079,23 @@ parameter for details on doing this.
See also the section NOTE ABOUT USERNAME/PASSWORD VALIDATION.
->\fBSECURITY = DOMAIN
+\fBSECURITY = SERVER
\fR
-This mode will only work correctly if \fBnet\fR(8) has been used to add this
-machine into a Windows NT Domain. It expects the \fIencrypted passwords\fR
-parameter to be set to yes. In this
-mode Samba will try to validate the username/password by passing
-it to a Windows NT Primary or Backup Domain Controller, in exactly
-the same way that a Windows NT Server would do.
-
-\fBNote\fR that a valid UNIX user must still
-exist as well as the account on the Domain Controller to allow
-Samba to have a valid UNIX account to map file access to.
+In this mode Samba will try to validate the username/password
+by passing it to another SMB server, such as an NT box. If this
+fails it will revert to \fBsecurity = user\fR, but note
+that if encrypted passwords have been negotiated then Samba cannot
+revert back to checking the UNIX password file, it must have a valid
+\fIsmbpasswd\fR file to check users against. See the
+documentation file in the \fIdocs/\fR directory
+\fIENCRYPTION.txt\fR for details on how to set this
+up.
-\fBNote\fR that from the client's point
-of view \fBsecurity = domain\fR is the same as \fBsecurity = user
-\fR. It only affects how the server deals with the authentication,
-it does not in any way affect what the client sees.
+\fBNote\fR that from the client's point of
+view \fBsecurity = server\fR is the same as \fB security = user\fR. It only affects how the server deals
+with the authentication, it does not in any way affect what the
+client sees.
\fBNote\fR that the name of the resource being
requested is \fBnot\fR sent to the server until after
@@ -6080,39 +6111,24 @@ See also the \fIpassword
server\fR parameter and the \fIencrypted passwords\fR
parameter.
->\fBSECURITY = SERVER
+\fBSECURITY = DOMAIN
\fR
-In this mode Samba will try to validate the username/password
-by passing it to another SMB server, such as an NT box. If this
-fails it will revert to \fBsecurity =
-user\fR. It expects the \fIencrypted passwords\fR
-parameter to be set to
-yes, unless the remote server
-does not support them. However note
-that if encrypted passwords have been negotiated then Samba cannot
-revert back to checking the UNIX password file, it must have a valid
-\fIsmbpasswd\fR file to check users against. See the
-documentation file in the \fIdocs/\fR directory
-\fIENCRYPTION.txt\fR for details on how to set this
-up.
+This mode will only work correctly if smbpasswd(8) has been used to add this
+machine into a Windows NT Domain. It expects the \fIencrypted passwords\fR
+parameter to be set to yes. In this
+mode Samba will try to validate the username/password by passing
+it to a Windows NT Primary or Backup Domain Controller, in exactly
+the same way that a Windows NT Server would do.
-\fBNote\fR this mode of operation
-has significant pitfalls, due to the fact that is
-activly initiates a man-in-the-middle attack on the
-remote SMB server. In particular, this mode of
-operation can cause significant resource consuption on
-the PDC, as it must maintain an active connection for
-the duration of the user's session. Furthermore, if
-this connection is lost, there is no way to
-reestablish it, and futher authenticaions to the Samba
-server may fail. (From a single client, till it
-disconnects).
+\fBNote\fR that a valid UNIX user must still
+exist as well as the account on the Domain Controller to allow
+Samba to have a valid UNIX account to map file access to.
-\fBNote\fR that from the client's point of
-view \fBsecurity = server\fR is the same as \fB security = user\fR. It only affects how the server deals
-with the authentication, it does not in any way affect what the
-client sees.
+\fBNote\fR that from the client's point
+of view \fBsecurity = domain\fR is the same as \fBsecurity = user
+\fR. It only affects how the server deals with the authentication,
+it does not in any way affect what the client sees.
\fBNote\fR that the name of the resource being
requested is \fBnot\fR sent to the server until after
@@ -6122,6 +6138,14 @@ the server to automatically map unknown users into the \fIguest account\fR.
See the \fImap to guest\fR
parameter for details on doing this.
+\fBBUG:\fR There is currently a bug in the
+implementation of \fBsecurity = domain\fR with respect
+to multi-byte character set usernames. The communication with a
+Domain Controller must be done in UNICODE and Samba currently
+does not widen multi-byte user names to UNICODE correctly, thus
+a multi-byte username will not be recognized correctly at the
+Domain Controller. This issue will be addressed in a future release.
+
See also the section NOTE ABOUT USERNAME/PASSWORD VALIDATION.
See also the \fIpassword
@@ -6132,7 +6156,7 @@ Default: \fBsecurity = USER\fR
Example: \fBsecurity = DOMAIN\fR
.TP
-\fB>security mask (S)\fR
+\fBsecurity mask (S)\fR
This parameter controls what UNIX permission
bits can be modified when a Windows NT client is manipulating
the UNIX permission on a file using the native NT security
@@ -6161,7 +6185,7 @@ Default: \fBsecurity mask = 0777\fR
Example: \fBsecurity mask = 0770\fR
.TP
-\fB>server string (G)\fR
+\fBserver string (G)\fR
This controls what string will show up in the
printer comment box in print manager and next to the IPC connection
in \fBnet view\fR. It can be any string that you wish
@@ -6181,7 +6205,7 @@ Default: \fBserver string = Samba %v\fR
Example: \fBserver string = University of GNUs Samba
Server\fR
.TP
-\fB>set directory (S)\fR
+\fBset directory (S)\fR
If \fBset directory = no\fR, then
users of the service may not use the setdir command to change
directory.
@@ -6192,7 +6216,7 @@ for details.
Default: \fBset directory = no\fR
.TP
-\fB>share modes (S)\fR
+\fBshare modes (S)\fR
This enables or disables the honoring of
the \fIshare modes\fR during a file open. These
modes are used by clients to gain exclusive read or write access
@@ -6215,7 +6239,7 @@ off as many Windows applications will break if you do so.
Default: \fBshare modes = yes\fR
.TP
-\fB>short preserve case (S)\fR
+\fBshort preserve case (S)\fR
This boolean parameter controls if new files
which conform to 8.3 syntax, that is all in upper case and of
suitable length, are created upper case, or if they are forced
@@ -6228,7 +6252,7 @@ See the section on NAME MANGLING.
Default: \fBshort preserve case = yes\fR
.TP
-\fB>show add printer wizard (G)\fR
+\fBshow add printer wizard (G)\fR
With the introduction of MS-RPC based printing support
for Windows NT/2000 client in Samba 2.2, a "Printers..." folder will
appear on Samba hosts in the share listing. Normally this folder will
@@ -6255,7 +6279,7 @@ command\fR, \fIdeleteprinter command\fR, \fIprinter admin\fR
Default :\fBshow add printer wizard = yes\fR
.TP
-\fB>shutdown script (G)\fR
+\fBshutdown script (G)\fR
\fBThis parameter only exists in the HEAD cvs branch\fR
This a full path name to a script called by
\fBsmbd(8)\fR that
@@ -6288,19 +6312,20 @@ Example: \fBabort shutdown script = /usr/local/samba/sbin/shutdown %m %t %r %f\f
Shutdown script example:
.nf
-#!/bin/bash
+ #!/bin/bash
-$time=0
-let "time/60"
-let "time++"
+ $time=0
+ let "time/60"
+ let "time++"
-/sbin/shutdown $3 $4 +$time $1 &
+ /sbin/shutdown $3 $4 +$time $1 &
+
.fi
Shutdown does not return so we need to launch it in background.
See also \fIabort shutdown script\fR.
.TP
-\fB>smb passwd file (G)\fR
+\fBsmb passwd file (G)\fR
This option sets the path to the encrypted
smbpasswd file. By default the path to the smbpasswd file
is compiled into Samba.
@@ -6311,13 +6336,13 @@ Default: \fBsmb passwd file = ${prefix}/private/smbpasswd
Example: \fBsmb passwd file = /etc/samba/smbpasswd
\fR
.TP
-\fB>smb ports (G)\fR
+\fBsmb ports (G)\fR
Specifies which ports the server should listen on
for SMB traffic.
Default: \fBsmb ports = 445 139\fR
.TP
-\fB>socket address (G)\fR
+\fBsocket address (G)\fR
This option allows you to control what
address Samba will listen for connections on. This is used to
support multiple virtual interfaces on the one server, each
@@ -6328,7 +6353,7 @@ address.
Example: \fBsocket address = 192.168.2.20\fR
.TP
-\fB>socket options (G)\fR
+\fBsocket options (G)\fR
This option allows you to set socket options
to be used when talking with the client.
@@ -6416,7 +6441,7 @@ Default: \fBsocket options = TCP_NODELAY\fR
Example: \fBsocket options = IPTOS_LOWDELAY\fR
.TP
-\fB>source environment (G)\fR
+\fBsource environment (G)\fR
This parameter causes Samba to set environment
variables as per the content of the file named.
@@ -6440,31 +6465,26 @@ Examples: \fBsource environment = |/etc/smb.conf.sh
Example: \fBsource environment =
/usr/local/smb_env_vars\fR
.TP
-\fB>use spnego (G)\fR
-This variable controls controls whether samba will try
-to use Simple and Protected NEGOciation (as specified by rfc2478) with
-WindowsXP and Windows2000sp2 clients to agree upon an authentication mechanism.
-Unless further issues are discovered with our SPNEGO
-implementation, there is no reason this should ever be
-disabled.
+\fBuse spnego (G)\fR
+This variable controls controls whether samba will try to use Simple and Protected NEGOciation (as specified by rfc2478) with WindowsXP and Windows2000sp2 clients to agree upon an authentication mechanism. As of samba 3.0alpha it must be set to "no" for these clients to join a samba domain controller. It can be set to "yes" to allow samba to participate in an AD domain controlled by a Windows2000 domain controller.
Default: \fBuse spnego = yes\fR
.TP
-\fB>stat cache (G)\fR
-This parameter determines if \fBsmbd\fR(8) will use a cache in order to
+\fBstat cache (G)\fR
+This parameter determines if smbd(8) will use a cache in order to
speed up case insensitive name mappings. You should never need
to change this parameter.
Default: \fBstat cache = yes\fR
.TP
-\fB>stat cache size (G)\fR
+\fBstat cache size (G)\fR
This parameter determines the number of
entries in the \fIstat cache\fR. You should
never need to change this parameter.
Default: \fBstat cache size = 50\fR
.TP
-\fB>strict allocate (S)\fR
+\fBstrict allocate (S)\fR
This is a boolean that controls the handling of
disk space allocation in the server. When this is set to yes
the server will change from UNIX behaviour of not committing real
@@ -6483,7 +6503,7 @@ of users.
Default: \fBstrict allocate = no\fR
.TP
-\fB>strict locking (S)\fR
+\fBstrict locking (S)\fR
This is a boolean that controls the handling of
file locking in the server. When this is set to yes
the server will check every read and write access for file locks, and
@@ -6498,7 +6518,7 @@ locking = no\fR is preferable.
Default: \fBstrict locking = no\fR
.TP
-\fB>strict sync (S)\fR
+\fBstrict sync (S)\fR
Many Windows applications (including the Windows
98 explorer shell) seem to confuse flushing buffer contents to
disk with doing a sync to disk. Under UNIX, a sync call forces
@@ -6506,7 +6526,7 @@ the process to be suspended until the kernel has ensured that
all outstanding data in kernel disk buffers has been safely stored
onto stable storage. This is very slow and should only be done
rarely. Setting this parameter to no (the
-default) means that \fBsmbd\fR(8) ignores the Windows applications requests for
+default) means that smbd ignores the Windows applications requests for
a sync call. There is only a possibility of losing data if the
operating system itself that Samba is running on crashes, so there is
little danger in this default setting. In addition, this fixes many
@@ -6518,14 +6538,14 @@ always>\fR parameter.
Default: \fBstrict sync = no\fR
.TP
-\fB>strip dot (G)\fR
+\fBstrip dot (G)\fR
This is a boolean that controls whether to
strip trailing dots off UNIX filenames. This helps with some
CDROMs that have filenames ending in a single dot.
Default: \fBstrip dot = no\fR
.TP
-\fB>sync always (S)\fR
+\fBsync always (S)\fR
This is a boolean parameter that controls
whether writes will always be written to stable storage before
the write call returns. If this is no then the server will be
@@ -6542,7 +6562,7 @@ sync\fR parameter.
Default: \fBsync always = no\fR
.TP
-\fB>syslog (G)\fR
+\fBsyslog (G)\fR
This parameter maps how Samba debug messages
are logged onto the system syslog logging levels. Samba debug
level zero maps onto syslog LOG_ERR, debug
@@ -6556,14 +6576,14 @@ will be sent to syslog.
Default: \fBsyslog = 1\fR
.TP
-\fB>syslog only (G)\fR
+\fBsyslog only (G)\fR
If this parameter is set then Samba debug
messages are logged into the system syslog only, and not to
the debug log files.
Default: \fBsyslog only = no\fR
.TP
-\fB>template homedir (G)\fR
+\fBtemplate homedir (G)\fR
When filling out the user information for a Windows NT
user, the winbindd(8) daemon
uses this parameter to fill in the home directory for that user.
@@ -6574,14 +6594,14 @@ NT user name.
Default: \fBtemplate homedir = /home/%D/%U\fR
.TP
-\fB>template shell (G)\fR
+\fBtemplate shell (G)\fR
When filling out the user information for a Windows NT
-user, the \fBwinbindd\fR(8) daemon
+user, the winbindd(8) daemon
uses this parameter to fill in the login shell for that user.
Default: \fBtemplate shell = /bin/false\fR
.TP
-\fB>time offset (G)\fR
+\fBtime offset (G)\fR
This parameter is a setting in minutes to add
to the normal GMT to local time conversion. This is useful if
you are serving a lot of PCs that have incorrect daylight
@@ -6591,20 +6611,21 @@ Default: \fBtime offset = 0\fR
Example: \fBtime offset = 60\fR
.TP
-\fB>time server (G)\fR
-This parameter determines if \fBnmbd\fR(8) advertises itself as a time server to Windows
+\fBtime server (G)\fR
+This parameter determines if
+nmbd(8) advertises itself as a time server to Windows
clients.
Default: \fBtime server = no\fR
.TP
-\fB>timestamp logs (G)\fR
+\fBtimestamp logs (G)\fR
Synonym for \fI debug timestamp\fR.
.TP
-\fB>total print jobs (G)\fR
+\fBtotal print jobs (G)\fR
This parameter accepts an integer value which defines
a limit on the maximum number of print jobs that will be accepted
system wide at any given time. If a print job is submitted
-by a client which will exceed this number, then \fBsmbd\fR(8) will return an
+by a client which will exceed this number, then smbd will return an
error indicating that no space is available on the server. The
default value of 0 means that no such limit exists. This parameter
can be used to prevent a server from exceeding its capacity and is
@@ -6615,23 +6636,23 @@ Default: \fBtotal print jobs = 0\fR
Example: \fBtotal print jobs = 5000\fR
.TP
-\fB>unicode (G)\fR
+\fBunicode (G)\fR
Specifies whether Samba should try
to use unicode on the wire by default. Note: This does NOT
mean that samba will assume that the unix machine uses unicode!
Default: \fBunicode = yes\fR
.TP
-\fB>unix charset (G)\fR
+\fBunix charset (G)\fR
Specifies the charset the unix machine
Samba runs on uses. Samba needs to know this in order to be able to
convert text to the charsets other SMB clients use.
-Default: \fBunix charset = UTF8\fR
+Default: \fBunix charset = ASCII\fR
-Example: \fBunix charset = ASCII\fR
+Example: \fBunix charset = UTF8\fR
.TP
-\fB>unix extensions(G)\fR
+\fBunix extensions(G)\fR
This boolean parameter controls whether Samba
implments the CIFS UNIX extensions, as defined by HP.
These extensions enable Samba to better serve UNIX CIFS clients
@@ -6641,7 +6662,7 @@ no current use to Windows clients.
Default: \fBunix extensions = no\fR
.TP
-\fB>unix password sync (G)\fR
+\fBunix password sync (G)\fR
This boolean parameter controls whether Samba
attempts to synchronize the UNIX password with the SMB password
when the encrypted SMB password in the smbpasswd file is changed.
@@ -6656,7 +6677,7 @@ program\fR, \fI passwd chat\fR.
Default: \fBunix password sync = no\fR
.TP
-\fB>update encrypted (G)\fR
+\fBupdate encrypted (G)\fR
This boolean parameter allows a user logging
on with a plaintext password to have their encrypted (hashed)
password in the smbpasswd file to be updated automatically as
@@ -6682,7 +6703,7 @@ password in order to connect correctly, and to update their hashed
Default: \fBupdate encrypted = no\fR
.TP
-\fB>use client driver (S)\fR
+\fBuse client driver (S)\fR
This parameter applies only to Windows NT/2000
clients. It has no affect on Windows 95/98/ME clients. When
serving a printer to Windows NT/2000 clients without first installing
@@ -6714,7 +6735,7 @@ See also disable spoolss
Default: \fBuse client driver = no\fR
.TP
-\fB>use mmap (G)\fR
+\fBuse mmap (G)\fR
This global parameter determines if the tdb internals of Samba can
depend on mmap working correctly on the running system. Samba requires a coherent
mmap/read-write system memory cache. Currently only HPUX does not have such a
@@ -6725,7 +6746,7 @@ the tdb internal code.
Default: \fBuse mmap = yes\fR
.TP
-\fB>use rhosts (G)\fR
+\fBuse rhosts (G)\fR
If this global parameter is yes, it specifies
that the UNIX user's \fI.rhosts\fR file in their home directory
will be read to find the names of hosts and users who will be allowed
@@ -6739,13 +6760,13 @@ you are doing.
Default: \fBuse rhosts = no\fR
.TP
-\fB>user (S)\fR
+\fBuser (S)\fR
Synonym for \fI username\fR.
.TP
-\fB>users (S)\fR
+\fBusers (S)\fR
Synonym for \fI username\fR.
.TP
-\fB>username (S)\fR
+\fBusername (S)\fR
Multiple users may be specified in a comma-delimited
list, in which case the supplied password will be tested against
each username in turn (left to right).
@@ -6786,7 +6807,7 @@ If any of the usernames begin with a '+' then the name
will be looked up only in the UNIX groups database and will
expand to a list of all users in the group of that name.
-If any of the usernames begin with a '&' then the name
+If any of the usernames begin with a '&'then the name
will be looked up only in the NIS netgroups database (if Samba
is compiled with netgroup support) and will expand to a list
of all users in the netgroup group of that name.
@@ -6805,7 +6826,7 @@ else <empty string>.\fR
Examples:\fBusername = fred, mary, jack, jane,
@users, @pcgroup\fR
.TP
-\fB>username level (G)\fR
+\fBusername level (G)\fR
This option helps Samba to try and 'guess' at
the real UNIX username, as many DOS clients send an all-uppercase
username. By default Samba tries all lowercase, followed by the
@@ -6824,7 +6845,7 @@ Default: \fBusername level = 0\fR
Example: \fBusername level = 5\fR
.TP
-\fB>username map (G)\fR
+\fBusername map (G)\fR
This option allows you to specify a file containing
a mapping of usernames from the clients to the server. This can be
used for several purposes. The most common is to map usernames
@@ -6887,8 +6908,9 @@ that line.
.nf
-!sys = mary fred
-guest = *
+ !sys = mary fred
+ guest = *
+
.fi
Note that the remapping is applied to all occurrences
@@ -6910,7 +6932,7 @@ Default: \fBno username map\fR
Example: \fBusername map = /usr/local/samba/lib/users.map
\fR
.TP
-\fB>use sendfile (S)\fR
+\fBuse sendfile (S)\fR
If this parameter is yes, and Samba
was built with the --with-sendfile-support option, and the underlying operating
system supports sendfile system call, then some SMB read calls (mainly ReadAndX
@@ -6921,7 +6943,7 @@ as yet.
Default: \fBuse sendfile = no\fR
.TP
-\fB>utmp (G)\fR
+\fButmp (G)\fR
This boolean parameter is only available if
Samba has been configured and compiled with the option \fB --with-utmp\fR. If set to yes then Samba will attempt
to add utmp or utmpx records (depending on the UNIX system) whenever a
@@ -6938,7 +6960,7 @@ See also the \fI utmp directory\fR parameter.
Default: \fButmp = no\fR
.TP
-\fB>utmp directory(G)\fR
+\fButmp directory(G)\fR
This parameter is only available if Samba has
been configured and compiled with the option \fB --with-utmp\fR. It specifies a directory pathname that is
used to store the utmp or utmpx files (depending on the UNIX system) that
@@ -6951,7 +6973,7 @@ Default: \fBno utmp directory\fR
Example: \fButmp directory = /var/run/utmp\fR
.TP
-\fB>wtmp directory(G)\fR
+\fBwtmp directory(G)\fR
This parameter is only available if Samba has
been configured and compiled with the option \fB --with-utmp\fR. It specifies a directory pathname that is
used to store the wtmp or wtmpx files (depending on the UNIX system) that
@@ -6967,7 +6989,7 @@ Default: \fBno wtmp directory\fR
Example: \fBwtmp directory = /var/log/wtmp\fR
.TP
-\fB>valid users (S)\fR
+\fBvalid users (S)\fR
This is a list of users that should be allowed
to login to this service. Names starting with '@', '+' and '&'
are interpreted using the same rules as described in the
@@ -6988,7 +7010,7 @@ Default: \fBNo valid users list (anyone can login)
Example: \fBvalid users = greg, @pcusers\fR
.TP
-\fB>veto files(S)\fR
+\fBveto files(S)\fR
This is a list of files and directories that
are neither visible nor accessible. Each entry in the list must
be separated by a '/', which allows spaces to be included
@@ -7033,7 +7055,7 @@ veto files = /*Security*/*.tmp/*root*/
veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/
.fi
.TP
-\fB>veto oplock files (S)\fR
+\fBveto oplock files (S)\fR
This parameter is only valid when the \fIoplocks\fR
parameter is turned on for a share. It allows the Samba administrator
to selectively turn off the granting of oplocks on selected files that
@@ -7055,7 +7077,7 @@ the particular NetBench share :
Example: \fBveto oplock files = /*.SEM/
\fR
.TP
-\fB>vfs path (S)\fR
+\fBvfs path (S)\fR
This parameter specifies the directory
to look in for vfs modules. The name of every \fBvfs object
\fR will be prepended by this directory
@@ -7064,7 +7086,7 @@ Default: \fBvfs path = \fR
Example: \fBvfs path = /usr/lib/samba/vfs\fR
.TP
-\fB>vfs object (S)\fR
+\fBvfs object (S)\fR
This parameter specifies a shared object files that
are used for Samba VFS I/O operations. By default, normal
disk I/O operations are used but these can be overloaded
@@ -7072,21 +7094,21 @@ with one or more VFS objects.
Default : \fBno value\fR
.TP
-\fB>vfs options (S)\fR
+\fBvfs options (S)\fR
This parameter allows parameters to be passed
to the vfs layer at initialization time.
See also \fI vfs object\fR.
Default : \fBno value\fR
.TP
-\fB>volume (S)\fR
+\fBvolume (S)\fR
This allows you to override the volume label
returned for a share. Useful for CDROMs with installation programs
that insist on a particular volume label.
Default: \fBthe name of the share\fR
.TP
-\fB>wide links (S)\fR
+\fBwide links (S)\fR
This parameter controls whether or not links
in the UNIX file system may be followed by the server. Links
that point to areas within the directory tree exported by the
@@ -7099,17 +7121,19 @@ that Samba has to do in order to perform the link checks.
Default: \fBwide links = yes\fR
.TP
-\fB>winbind cache time (G)\fR
-This parameter specifies the number of
-seconds the \fBwinbindd\fR(8) daemon will cache
+\fBwinbind cache time (G)\fR
+This parameter specifies the number of seconds the
+winbindd(8) daemon will cache
user and group information before querying a Windows NT server
again.
Default: \fBwinbind cache type = 15\fR
.TP
-\fB>winbind enum users (G)\fR
-On large installations using \fBwinbindd\fR(8) it may be
-necessary to suppress the enumeration of users through the \fBsetpwent()\fR,
+\fBwinbind enum users (G)\fR
+On large installations using
+winbindd(8) it may be
+necessary to suppress the enumeration of users through the
+\fB setpwent()\fR,
\fBgetpwent()\fR and
\fBendpwent()\fR group of system calls. If
the \fIwinbind enum users\fR parameter is
@@ -7124,9 +7148,11 @@ usernames.
Default: \fBwinbind enum users = yes \fR
.TP
-\fB>winbind enum groups (G)\fR
-On large installations using \fBwinbindd\fR(8) it may be necessary to suppress
-the enumeration of groups through the \fBsetgrent()\fR,
+\fBwinbind enum groups (G)\fR
+On large installations using
+winbindd(8) it may be
+necessary to suppress the enumeration of groups through the
+\fB setgrent()\fR,
\fBgetgrent()\fR and
\fBendgrent()\fR group of system calls. If
the \fIwinbind enum groups\fR parameter is
@@ -7138,9 +7164,9 @@ enumeration may cause some programs to behave oddly.
Default: \fBwinbind enum groups = yes \fR
.TP
-\fB>winbind gid (G)\fR
+\fBwinbind gid (G)\fR
The winbind gid parameter specifies the range of group
-ids that are allocated by the \fBwinbindd\fR(8) daemon. This range of group ids should have no
+ids that are allocated by the winbindd(8) daemon. This range of group ids should have no
existing local or NIS groups within it as strange conflicts can
occur otherwise.
@@ -7149,7 +7175,7 @@ Default: \fBwinbind gid = <empty string>
Example: \fBwinbind gid = 10000-20000\fR
.TP
-\fB>winbind separator (G)\fR
+\fBwinbind separator (G)\fR
This parameter allows an admin to define the character
used when listing a username of the form of \fIDOMAIN
\fR\\\fIuser\fR. This parameter
@@ -7164,9 +7190,9 @@ Default: \fBwinbind separator = '\\'\fR
Example: \fBwinbind separator = +\fR
.TP
-\fB>winbind uid (G)\fR
+\fBwinbind uid (G)\fR
The winbind gid parameter specifies the range of group
-ids that are allocated by the \fBwinbindd\fR(8) daemon. This range of ids should have no
+ids that are allocated by the winbindd(8) daemon. This range of ids should have no
existing local or NIS users within it as strange conflicts can
occur otherwise.
@@ -7175,9 +7201,11 @@ Default: \fBwinbind uid = <empty string>
Example: \fBwinbind uid = 10000-20000\fR
.TP
-\fB>winbind use default domain (G)\fR
-This parameter specifies whether the \fBwinbindd\fR(8) daemon should operate on users
-without domain component in their username.
+\fBwinbind use default domain\fR
+.TP
+\fBwinbind use default domain (G)\fR
+This parameter specifies whether the winbindd(8)
+daemon should operate on users without domain component in their username.
Users without a domain component are treated as is part of the winbindd server's
own domain. While this does not benifit Windows users, it makes SSH, FTP and e-mail
function in a way much closer to the way they would in a native unix system.
@@ -7187,7 +7215,7 @@ Default: \fBwinbind use default domain = <no>
Example: \fBwinbind use default domain = yes\fR
.TP
-\fB>wins hook (G)\fR
+\fBwins hook (G)\fR
When Samba is running as a WINS server this
allows you to call an external program for all changes to the
WINS database. The primary use for this option is to allow the
@@ -7233,16 +7261,16 @@ An example script that calls the BIND dynamic DNS update
program \fBnsupdate\fR is provided in the examples
directory of the Samba source code.
.TP
-\fB>wins proxy (G)\fR
+\fBwins proxy (G)\fR
This is a boolean that controls if nmbd(8) will respond to broadcast name
queries on behalf of other hosts. You may need to set this
to yes for some older clients.
Default: \fBwins proxy = no\fR
.TP
-\fB>wins server (G)\fR
+\fBwins server (G)\fR
This specifies the IP address (or DNS name: IP
-address for preference) of the WINS server that \fBnmbd\fR(8) should register with. If you have a WINS server on
+address for preference) of the WINS server that nmbd(8) should register with. If you have a WINS server on
your network then you should set this to the WINS server's IP.
You should point this at your WINS server if you have a
@@ -7252,15 +7280,16 @@ multi-subnetted network.
to a WINS server if you have multiple subnets and wish cross-subnet
browsing to work correctly.
-See the documentation file BROWSING
+See the documentation file \fIBROWSING.txt\fR
in the docs/ directory of your Samba source distribution.
Default: \fBnot enabled\fR
Example: \fBwins server = 192.9.200.1\fR
.TP
-\fB>wins support (G)\fR
-This boolean controls if the \fBnmbd\fR(8) process in Samba will act as a WINS server. You should
+\fBwins support (G)\fR
+This boolean controls if the
+nmbd(8) process in Samba will act as a WINS server. You should
not set this to yes unless you have a multi-subnetted network and
you wish a particular \fBnmbd\fR to be your WINS server.
Note that you should \fBNEVER\fR set this to yes
@@ -7268,7 +7297,7 @@ on more than one machine in your network.
Default: \fBwins support = no\fR
.TP
-\fB>workgroup (G)\fR
+\fBworkgroup (G)\fR
This controls what workgroup your server will
appear to be in when queried by clients. Note that this parameter
also controls the Domain name used with the \fBsecurity = domain\fR
@@ -7278,10 +7307,10 @@ Default: \fBset at compile time to WORKGROUP\fR
Example: \fBworkgroup = MYGROUP\fR
.TP
-\fB>writable (S)\fR
+\fBwritable (S)\fR
Synonym for \fI writeable\fR for people who can't spell :-).
.TP
-\fB>write cache size (S)\fR
+\fBwrite cache size (S)\fR
If this integer parameter is set to non-zero value,
Samba will create an in-memory cache for each oplocked file
(it does \fBnot\fR do this for
@@ -7307,7 +7336,7 @@ Example: \fBwrite cache size = 262144\fR
for a 256k cache size per file.
.TP
-\fB>write list (S)\fR
+\fBwrite list (S)\fR
This is a list of users that are given read-write
access to a service. If the connecting user is in this list then
they will be given write access, no matter what the \fIread only\fR
@@ -7326,7 +7355,7 @@ Default: \fBwrite list = <empty string>
Example: \fBwrite list = admin, root, @staff
\fR
.TP
-\fB>wins partners (G)\fR
+\fBwins partners (G)\fR
A space separated list of partners' IP addresses for
WINS replication. WINS partners are always defined as push/pull
partners as defining only one way WINS replication is unreliable.
@@ -7337,17 +7366,17 @@ Default: \fBwins partners = \fR
Example: \fBwins partners = 192.168.0.1 172.16.1.2\fR
.TP
-\fB>write ok (S)\fR
+\fBwrite ok (S)\fR
Inverted synonym for \fI read only\fR.
.TP
-\fB>write raw (G)\fR
+\fBwrite raw (G)\fR
This parameter controls whether or not the server
will support raw write SMB's when transferring data from clients.
You should never need to change this parameter.
Default: \fBwrite raw = yes\fR
.TP
-\fB>writeable (S)\fR
+\fBwriteable (S)\fR
Inverted synonym for \fI read only\fR.
.SH "WARNINGS"
.PP
@@ -7357,7 +7386,8 @@ be ignored in comparisons anyway, so it shouldn't be a
problem - but be aware of the possibility.
.PP
On a similar note, many clients - especially DOS clients -
-limit service names to eight characters. \fBsmbd\fR(8) has no such limitation, but attempts to connect from such
+limit service names to eight characters. smbd(8)
+ has no such limitation, but attempts to connect from such
clients will fail if they truncate the service names. For this reason
you should probably keep your service names down to eight characters
in length.
@@ -7369,10 +7399,19 @@ sections. In particular, ensure that the permissions on spool
directories are correct.
.SH "VERSION"
.PP
-This man page is correct for version 3.0 of the Samba suite.
+This man page is correct for version 3.0 of
+the Samba suite.
.SH "SEE ALSO"
.PP
-\fBsamba\fR(7), \fBsmbpasswd\fR(8), \fBswat\fR(8), \fBsmbd\fR(8), \fBnmbd\fR(8), \fBsmbclient\fR(1), \fBnmblookup\fR(1), \fBtestparm\fR(1), \fBtestprns\fR(1).
+samba(7)
+\fBsmbpasswd(8)\fR
+\fBswat(8)\fR
+\fBsmbd(8)\fR
+\fBnmbd(8)\fR
+\fBsmbclient(1)\fR
+\fBnmblookup(1)\fR
+\fBtestparm(1)\fR
+\fBtestprns(1)\fR
.SH "AUTHOR"
.PP
The original Samba software and related utilities
@@ -7382,7 +7421,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