From e90b65284812aaa5ff9e9935ce9bbad7791cbbcd Mon Sep 17 00:00:00 2001
From: Andrew Tridgell
Only the first equals sign in a parameter is significant. - Whitespace before or after the first equals sign is discarded. + Whitespace before or after the first equals sign is discarded. Leading, trailing and internal whitespace in section and parameter names is irrelevant. Leading and trailing whitespace in a parameter value is discarded. Internal whitespace within a parameter value @@ -140,7 +140,7 @@ NAME="AEN28" >
Sections may be designated guest services, +> services, in which case no password is required to access them. A specified UNIX guest account%d
The process id of the current server +>The process id of the current server process.
controls if new files which conform to 8.3 syntax, +>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 to be the "default" case. This option can be use with "preserve case = yes" @@ -785,8 +785,9 @@ NAME="AEN236" steps fail, then the connection request is rejected. However, if one of the steps succeeds, then the following steps are not checked.
If the service is marked "guest only = yes" then - steps 1 to 5 are skipped.
If the service is marked "guest only = yes" and the + server is running with share-level security ("security = share") + then steps 1 to 5 are skipped.This determines how Samba will use its
+ algorithmic mapping from uids/gid to the RIDs needed to construct
+ NT Security Identifiers. Setting this option to a larger value could be useful to sites
+ transitioning from WinNT and Win2k, as existing user and
+ group rids would otherwise clash with sytem users etc.
+ All UIDs and GIDs must be able to be resolved into SIDs for
+ the correct operation of ACLs on the server. As such the algorithmic
+ mapping can't be 'turned off', but pushing it 'out of the way' should
+ resolve the issues. Users and groups can then be assigned 'low' RIDs
+ in arbitary-rid supporting backends. Default: algorithmic rid base = 1000 Example: algorithmic rid base = 100000 This stands for client-side caching
+ policy, and specifies how clients capable of offline
+ caching will cache the files in the share. The valid values
+ are: manual, documents, programs, disable. These values correspond to those used on Windows
+ servers. For example, shares containing roaming profiles can have
+ offline caching disabled using csc policy = disable
+ . Default: csc policy = manual Example: csc policy = programs This parameter can be used to ensure
+ that if default acls exist on parent directories,
+ they are always honored when creating a subdirectory.
+ The default behavior is to use the mode specified
+ when creating the directory. Enabling this option
+ sets the mode to 0777, thus guaranteeing that
+ default directory acls are propagated.
+ Default: inherit acls = no
+ 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
+ Windows 2k servers do not reply with a failure if the lock
+ could not be immediately granted, but try a few more times
+ in case the lock could later be aquired. This behavior
+ is used to support PC database formats such as MS Access
+ and FoxPro.
+ Default: lock spin count = 2
+ The time in microseconds that smbd should
+ pause before attempting to gain a failed lock. See
+ lock spin
+ count for more details.
+ Default: lock spin time = 10
+ Currently eight styles of printer status information
- are supported; BSD, AIX, LPRNG, PLP, SYSV, HPUX, QNX and SOFTQ.
+>Currently nine styles of printer status information
+ are supported; BSD, AIX, LPRNG, PLP, SYSV, HPUX, QNX, CUPS, and SOFTQ.
This covers most UNIX systems. You control which type is expected
using the $PATH
may not be available to the server. See also the 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.
+ If this option is set to no then Samba offers
+ exactly the same DOS error codes that versions prior to Samba 2.2.3
+ reported. You should not need to ever disable this parameter. Default: nt status support = yes This option allows the administrator to chose what
- backend in which to store passwords. This allows (for example) both
- smbpasswd and tdbsam to be used without a recompile. Only one can
- be used at a time however, and experimental backends must still be selected
+>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, seperated by spaces. The backends will be searched in the order they are specified. New users are always added to the first backend specified.
+ Experimental backends must still be selected
(eg --with-tdbsam) at configure time.
Example: passdb backend = tdbsam:/etc/samba/private/passdb.tdbpassdb backend = tdbsam:/etc/samba/private/passdb.tdb smbpasswd:/etc/samba/smbpasswd Example: Example: passdb backend = plugin:/usr/local/samba/lib/my_passdb.so:my_plugin_argspassdb backend = plugin:/usr/local/samba/lib/my_passdb.so:my_plugin_args tdbsam:/etc/samba/private/passdb.tdb This option specifies the directory where pid
+ files will be placed. Default: pid directory = ${prefix}/var/locks Example: pid directory = /var/run/
+ The print command is simply a text string. It will be used
- verbatim, with two exceptions: All occurrences of %s
- and %f will be replaced by the
- appropriate spool file name, and all occurrences of %p
- will be replaced by the appropriate printer name. The
- spool file name is generated automatically by the server. The
- %J macro can be used to access the job
+ verbatim after macro substitutions have been made: s, %p - the path to the spool
+ file name %p - the appropriate printer
+ name %J - the job
name as transmitted by the client. %c - The number of printed pages
+ of the spooled job (if known). %z - the size of the spooled
+ print job (in bytes) The print command MUST contain at least
@@ -13923,6 +14204,25 @@ CLASS="COMMAND"
>print command = lp -d%p -s %s; rm %s For printing = CUPS : If SAMBA is compiled against
+ libcups, then printcap = cups
+ uses the CUPS API to
+ submit jobs, etc. Otherwise it maps to the System V
+ commands with the -oraw option for printing, i.e. it
+ uses lp -c -d%p -oraw; rm %s.
+ With printing = cups,
+ and if SAMBA is compiled against libcups, any manually
+ set print command will be ignored. Example: print command = /usr/local/samba/bin/myprintscript
@@ -14013,6 +14313,23 @@ HREF="#AEN79"
> section above for reasons
why you might want to do this. To use the CUPS printing interface set printcap name = cups
+ . This should be supplemented by an addtional setting
+ printing = cups in the [global]
+ section. printcap name = cups will use the
+ "dummy" printcap created by CUPS, as specified in your CUPS
+ configuration file.
+ On System V systems that use lpstat This enables or disables the honoring of
+ the share modes during a file open. These
+ modes are used by clients to gain exclusive read or write access
+ to a file. These open modes are not directly supported by UNIX, so
+ they are simulated using shared memory, or lock files if your
+ UNIX doesn't support shared memory (almost all do). The share modes that are enabled by this option are
+ DENY_DOS, DENY_ALL,
+ DENY_READ, DENY_WRITE,
+ DENY_NONE and DENY_FCB.
+ This option gives full share compatibility and enabled
+ by default. You should NEVER turn this parameter
+ off as many Windows applications will break if you do so. Default: share modes = yes This parameter specifies the number of seconds the
@@ -18279,8 +18654,7 @@ CLASS="COMMAND"
>winbind enum
- userswinbind enum users (G) On large installations using
@@ -18331,8 +18705,7 @@ CLASS="COMMAND"
>winbind enum
- groupswinbind enum groups (G) On large installations using
@@ -18382,7 +18755,7 @@ CLASS="COMMAND"
>winbind gidwinbind gid (G) The winbind gid parameter specifies the range of group
@@ -18409,7 +18782,7 @@ CLASS="COMMAND"
>winbind separatorwinbind separator (G) This parameter allows an admin to define the character
@@ -18439,21 +18812,21 @@ CLASS="FILENAME"
with group membership at least on glibc systems, as the character +
is used as a special character for NIS in /etc/group. Example: Default: winbind separator = \\winbind separator = '\' Example: winbind separator = /winbind separator = + The winbind gid parameter specifies the range of group
@@ -18873,7 +19246,7 @@ CLASS="COMMAND"
>COMPLETE LIST OF SERVICE PARAMETERS
EXPLANATION OF EACH PARAMETER