From ff78c3bf5c3a73cf90f6517d9b2d6b8c12d22d68 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 18 Feb 2003 22:14:04 +0000 Subject: Regenerate (This used to be commit 1ab5a3b17feb677425bb1071357c3dbabcc46c7e) --- docs/htmldocs/smb.conf.5.html | 3246 +++++++++++++++++++++++------------------ 1 file changed, 1862 insertions(+), 1384 deletions(-) (limited to 'docs/htmldocs/smb.conf.5.html') diff --git a/docs/htmldocs/smb.conf.5.html b/docs/htmldocs/smb.conf.5.html index 9c1ee7a67b..5a8bfe7d67 100644 --- a/docs/htmldocs/smb.conf.5.html +++ b/docs/htmldocs/smb.conf.5.html @@ -1,12 +1,11 @@ - + smb.conf

smb.conf

smb.conf
The smb.conf file is a configuration +> file is a configuration file for the Samba suite. smb.conf contains - runtime configuration information for the Samba programs. The - contains + runtime configuration information for the Samba programs. The smb.conf file is designed to be configured and - administered by the swat(8) - program. The complete description of the file format and - possible parameters held within are here for reference purposes.

file + is designed to be configured and administered by the swat(8) program. The complete + description of the file format and possible parameters held within + are here for reference purposes.

FILE FORMAT

SECTION DESCRIPTIONS

There are three special sections, [global], [homes] and [printers], which are - described under special sections. The following notes apply to ordinary section descriptions.

Sections may be designated Sections may be designated guest services, in which case no password is required to access them. A specified - UNIX guest account is used to define access privileges in this case.

/home/bar. The share is accessed via the share name "foo":

	 	[foo]
- 		path = /home/bar
- 		read only = no
-	
-	
[foo] + path = /home/bar + read only = no

The following sample section defines a printable share. The share is readonly, but printable. That is, the only write access permitted is via calls to open, write to and close a - spool file. The guest ok parameter means access will be permitted as the default guest user (specified elsewhere):

	 	[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

SPECIAL SECTIONS

The [global] section

The [homes] section

If you decide to use a If you decide to use a path = line in your [homes] section then you may find it useful to use the %S macro. For example :

			 	[homes]
- 			read only = no
-		
-		
[homes] + read only = no

An important point is that if guest access is specified in the [homes] section, all home directories will be - visible to all clients without a password. In the very unlikely event that this is actually desirable, it - would be wise to also specify read only access.

Note that the Note that the browseable flag for auto home directories will be inherited from the global browseable flag, not the [homes] browseable flag. This is useful as - it means setting browseable = no in the [homes] section will hide the [homes] share but make any auto home directories visible.

The [printers] section

	 	[printers]
- 			path = /usr/spool/public
- 			guest ok = yes
- 			printable = yes 
-		[printers]
+	path = /usr/spool/public
+	guest ok = yes
+	printable = yes 

All aliases given for a printer in the printcap file are legitimate printer names as far as the server is concerned. If your printing subsystem doesn't work like that, you will have to set up a pseudo-printcap. This is a file consisting of one or more lines like this:

			        alias|alias|alias|alias...    
-		
-		
alias|alias|alias|alias...

Each alias should be an acceptable printer name for your printing subsystem. In the [global] section, specify @@ -471,7 +443,7 @@ CLASS="COMPUTEROUTPUT" >

PARAMETERS

parameters define the specific attributes of sections.

Some parameters are specific to the [global] section - (e.g., security). Some parameters are usable - in all sections (e.g., create mode). All others are permissible only in normal sections. For the purposes of the following descriptions the [homes] and [printers] - sections will be considered normal. The letter G in parentheses indicates that a parameter is specific to the - [global] section. The letter S indicates that a parameter can be specified in a service specific - section. Note that all S parameters can also be specified in the [global] section - in which case they will define the default behavior for all services.

VARIABLE SUBSTITUTIONS

the name of your NIS home directory server. This is obtained from your NIS auto.map entry. If you have - not compiled Samba with the --with-automount option then this value will be the same as %L.

NAME MANGLING

controls if names that have characters that aren't of the "default" case are mangled. For example, if this is yes then a name like "Mail" would be mangled. - Default no.

controls whether filenames are case sensitive. If they aren't then Samba must do a filename search and match on passed - names. Default no.

controls what the default case is for new - filenames. Default lower.

controls if new files are created with the case that the client passes, or if they are forced to be the - "default" case. Default yes.

yes.

NOTE ABOUT USERNAME/PASSWORD VALIDATION

COMPLETE LIST OF GLOBAL PARAMETERS

COMPLETE LIST OF SERVICE PARAMETERS

EXPLANATION OF EACH PARAMETER

abort shutdown script (G)
>abort shutdown script (G)

This parameter only exists in the HEAD cvs branch - This a full path name to a script called by - smbd(8) that + This a full path name to a script called by smbd(8) that should stop a shutdown procedure issued by the

This command will be run as user.

Default: Default: None.

Example: addprinter command (G)>addprinter command (G)

With the introduction of MS-RPC based printing @@ -4771,14 +4780,12 @@ CLASS="PARAMETER" CLASS="FILENAME" >smb.conf file in order that it can be - shared by smbd(8) - smbd(8).

The is automatically invoked with the following parameter (in - order:

    Default: Default: none

    Example: add share command (G)>add share command (G)

    Samba 2.2.0 introduced the ability to dynamically @@ -5043,9 +5053,12 @@ CLASS="PARAMETER" >.

    Default: Default: none

    Example: add machine script (G)>add machine script (G)

    This is the full pathname to a script that will - be run by smbd(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 @@ -5074,7 +5089,7 @@ TARGET="_top" >

    Default: add machine script = <empty string> +>add machine script = <empty string>

    ads server (G)>ads server (G)

    If this option is specified, samba does @@ -5110,18 +5125,22 @@ CLASS="COMMAND" >add user script (G)>add user script (G)

    This is the full pathname to a script that will - be run AS ROOT by smbd(8) - by smbd(8) under special circumstances described below.

    Normally, a Samba server requires that UNIX users are @@ -5133,19 +5152,26 @@ HREF="smbd.8.html" TARGET="_top" >smbd to create the required UNIX users - ON DEMAND when a user accesses the Samba server.

    In order to use this option, smbd - must In order to use this option, smbd(8) must NOT be set to

    When the Windows user attempts to access the Samba server, - at login (session setup in the SMB protocol) time, smbdsmbd(8) contacts the smbd will - call the specified script AS ROOT, expanding any

    Default: add user script = <empty string> +>add user script = <empty string>

    add group script (G)>add group script (G)

    This is the full pathname to a script that will - be run AS ROOT by smbd(8) by smbd(8) when a new group is requested. It will expand any admin users (S)>admin users (S)

    This is a list of users who will be granted @@ -5299,9 +5335,12 @@ NAME="ADMINUSERS" this list will be able to do anything they like on the share, irrespective of file permissions.

    Default: Default: no admin users

    Example: add user to group script (G)>add user to group script (G)

    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 smbd(8) - smbd(8) AS ROOT. Any . + Any %g will be - replaced with the group name and any will be replaced with the group name and + any %u will - be replaced with the user name. +> will be replaced with the user name.

    Default: allow hosts (S)>allow hosts (S)

    Synonym for algorithmic rid base (G)>algorithmic rid base (G)

    This determines how Samba will use its @@ -5404,7 +5447,7 @@ CLASS="COMMAND" >allow trusted domains (G)>allow trusted domains (G)

    This option only takes effect when the announce as (G)>announce as (G)

    This specifies what type of server - nmbd - will announce itself as, to a network neighborhood browse +>This specifies what type of server nmbd(8) 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, @@ -5486,7 +5526,7 @@ CLASS="COMMAND" >announce version (G)>announce version (G)

    This specifies the major and minor version numbers @@ -5508,7 +5548,7 @@ CLASS="COMMAND" >auto services (G)>auto services (G)

    This is a synonym for the auth methods (G)>auth methods (G)

    This option allows the administrator to chose what @@ -5550,7 +5590,7 @@ CLASS="PARAMETER" >

    Default: auth methods = <empty string>auth methods = <empty string>

    Example: available (S)>available (S)

    This parameter lets you "turn off" a service. If @@ -5571,9 +5611,12 @@ CLASS="PARAMETER" >available = no, then , then ALL attempts to connect to the service will fail. Such failures are logged.

    bind interfaces only (G)>bind interfaces only (G)

    This global parameter allows the Samba admin to limit what interfaces on a machine will serve SMB requests. It - affects file service smbd(8) and - name service nmbd(8) in slightly - different ways.

    smbd(8) and name service nmbd(8) in a slightly different ways.

    For name service it causes nmbd.

    For file service it causes smbd(8) - to bind only to the interface list given in the For file service it causes smbd(8) to bind only to the interface list + given in the interfaces parameter. This restricts the networks that @@ -5680,40 +5727,42 @@ CLASS="PARAMETER" >bind interfaces only is set then - unless the network address 127.0.0.1 is added to the interfaces parameter list smbpasswd(8) - and swat(8) may - not work as expected due to the reasons covered below.

    parameter list smbpasswd(8) and swat(8) may not work as expected due to the reasons covered below.

    To change a users SMB password, the smbpasswd - by default connects to the localhost - 127.0.0.1 address as an SMB client to issue the password change request. If bind interfaces only is set then unless the - network address 127.0.0.1 is added to the smbpasswd can be forced to use the primary IP interface - of the local host by using its smbpasswd(8) -r - parameter, with remote machinenmbd at the address - 127.0.0.1 to determine if they are running. - Not adding 127.0.0.1 will cause smbdblocking locks (S)>blocking locks (S)

    This parameter controls the behavior of smbd(8)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.

    block size (S)>block size (S)

    This parameter controls the behavior of - smbd(8)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 option does not change the disk free reporting size, just the block size unit reported to the client.

    Default: block size = 1024

    Example: block size = 65536

    browsable (S)
    >browsable (S)

    See the browse list (G)>browse list (G)

    This controls whether smbd(8)This controls whether smbd(8) will serve a browse list to a client doing a browseable (S)>browseable (S)

    This controls whether this share is seen in @@ -5940,11 +5993,11 @@ CLASS="COMMAND" >case sensitive (S)>case sensitive (S)

    See the discussion in the section NAME MANGLING.

    casesignames (S)>casesignames (S)

    Synonym for change notify timeout (G)>change notify timeout (G)

    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 smbd(8)smbd(8) daemon only performs such a scan on each requested directory once every change share command (G)>change share command (G)

    Samba 2.2.0 introduced the ability to dynamically @@ -6125,9 +6177,12 @@ CLASS="PARAMETER" >.

    Default: Default: none

    Example: comment (S)>comment (S)

    This is a text field that is seen next to a share @@ -6161,9 +6216,12 @@ CLASS="PARAMETER" > parameter.

    Default: Default: No comment string

    Example: config file (G)>config file (G)

    This allows you to override the config file @@ -6207,7 +6265,7 @@ CLASS="COMMAND" >copy (S)>copy (S)

    This parameter allows you to "clone" service @@ -6220,9 +6278,12 @@ NAME="COPY" copied must occur earlier in the configuration file than the service doing the copying.

    Default: Default: no value

    Example: create mask (S)>create mask (S)

    A synonym for this parameter is @@ -6253,9 +6314,12 @@ CLASS="PARAMETER" calculated according to the mapping from DOS modes to UNIX permissions, and the resulting UNIX mode is then bit-wise 'AND'ed with this parameter. This parameter may be thought of as a bit-wise - MASK for the UNIX modes of a file. Any bit not set here will be removed from the modes set on a file when it is created.

    create mode (S)>create mode (S)

    This is a synonym for csc policy (S)>csc policy (S)

    This stands for 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.

    deadtime (G)>deadtime (G)

    The value of the parameter (a decimal integer) @@ -6429,7 +6496,7 @@ CLASS="COMMAND" >debug hires timestamp (G)>debug hires timestamp (G)

    Sometimes the timestamps in the log messages @@ -6457,7 +6524,7 @@ CLASS="COMMAND" >debug pid (G)>debug pid (G)

    When using only one log file for more then one @@ -6489,7 +6556,7 @@ CLASS="COMMAND" >debug timestamp (G)>debug timestamp (G)

    Samba debug log messages are timestamped @@ -6514,7 +6581,7 @@ CLASS="COMMAND" >debug uid (G)>debug uid (G)

    Samba is sometimes run as root and sometime @@ -6542,7 +6609,7 @@ CLASS="COMMAND" >debuglevel (G)>debuglevel (G)

    Synonym for default (G)>default (G)

    A synonym for default case (S)>default case (S)

    See the section on NAME MANGLING. Also note the default devmode (S)>default devmode (S)

    This parameter is only applicable to default service (G)>default service (G)

    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 NOT given in the parameter value (see example below).

    Example:

    [global]
     	default service = pub
             
     [pub]
    -	path = /%S
    -		

    delete group script (G)
    >delete group script (G)

    This is the full pathname to a script that will - be run AS ROOT by smbd(8) when a group is requested to be deleted. It will expand any smbd(8) when a group is requested to be deleted. + It will expand any %g to the group name passed. This script is only useful for installations using the Windows NT domain administration tools. +> to the group name passed. + This script is only useful for installations using the Windows NT domain administration tools.

    deleteprinter command (G)
    >deleteprinter command (G)

    With the introduction of MS-RPC based printer @@ -6829,9 +6896,12 @@ CLASS="PARAMETER" >

    Default: Default: none

    Example: delete readonly (S)>delete readonly (S)

    This parameter allows readonly files to be deleted. @@ -6863,7 +6933,7 @@ CLASS="COMMAND" >delete share command (G)>delete share command (G)

    Samba 2.2.0 introduced the ability to dynamically @@ -6967,9 +7037,12 @@ CLASS="PARAMETER" >.

    Default: Default: none

    Example: delete user script (G)>delete user script (G)

    This is the full pathname to a script that will - be run by smbd(8) - when managing user's with remote RPC (NT) tools. + be run by smbd(8) when managing users + with remote RPC (NT) tools.

    This script is called when a remote client removes a user @@ -7009,7 +7081,7 @@ CLASS="COMMAND" >

    Default: delete user script = <empty string> +>delete user script = <empty string>

    delete user from group script (G)>delete user from group script (G)

    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 smbd(8) - smbd(8) AS ROOT. Any . + Any %g will be - replaced with the group name and any will be replaced with the group name and + any %u will - be replaced with the user name. +> will be replaced with the user name.

    Default: delete veto files (S)>delete veto files (S)

    This option is used when Samba is attempting to @@ -7126,7 +7202,7 @@ CLASS="COMMAND" >deny hosts (S)>deny hosts (S)

    Synonym for dfree command (G)>dfree command (G)

    The

    Note: Your script should Note: Your script should NOT be setuid or setgid and should be owned by (and writeable only by) root!

    Default: Default: By default internal routines for determining the disk capacity and remaining space will be used.

    Example:

    Where the script dfree (which must be made executable) could be:

     
    -		#!/bin/sh
    -		df $1 | tail -1 | awk '{print $2" "$4}'
    -		

    or perhaps (on Sys V based systems):

     
    -		#!/bin/sh
    -		/usr/bin/df -k $1 | tail -1 | awk '{print $3" "$5}'
    -		

    Note that you may have to replace the command names @@ -7239,7 +7301,7 @@ CLASS="PROGRAMLISTING" >directory (S)>directory (S)

    Synonym for directory mask (S)>directory mask (S)

    This parameter is the octal modes which are @@ -7268,9 +7330,12 @@ NAME="DIRECTORYMASK" calculated according to the mapping from DOS modes to UNIX permissions, and the resulting UNIX mode is then bit-wise 'AND'ed with this parameter. This parameter may be thought of as a bit-wise MASK for - the UNIX modes of a directory. Any bit not set here will be removed from the modes set on a directory when it is created.

    directory mode (S)>directory mode (S)

    Synonym for directory security mask (S)>directory security mask (S)

    This parameter controls what UNIX permission bits @@ -7396,9 +7461,12 @@ NAME="DIRECTORYSECURITYMASK" meaning a user is allowed to modify all the user/group/world permissions on a directory.

    Note that users who can access the Samba server through other means can easily bypass this restriction, so it is primarily useful for standalone "appliance" systems. @@ -7450,7 +7518,7 @@ CLASS="COMMAND" >disable netbios (G)>disable netbios (G)

    Enabling this parameter will disable netbios support @@ -7475,7 +7543,7 @@ CLASS="COMMAND" >disable spoolss (G)>disable spoolss (G)

    Enabling this parameter will disable Samba's support @@ -7487,9 +7555,12 @@ NAME="DISABLESPOOLSS" Wizard or by using the NT printer properties dialog window. It will also disable the capability of Windows NT/2000 clients to download print drivers from the Samba host upon demand. - Be very careful about enabling this parameter.

    display charset (G)>display charset (G)

    Specifies the charset that samba will use @@ -7533,18 +7604,19 @@ CLASS="COMMAND" >dns proxy (G)>dns proxy (G)

    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.

    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 @@ -7576,7 +7648,7 @@ CLASS="COMMAND" >domain logons (G)>domain logons (G)

    If set to domain master (G)>domain master (G)

    Tell nmbd(8)Tell smbd(8) to enable WAN-wide browse list collation. Setting this option causes nmbd their local browse lists, - and then ask smbd(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.

    smbd(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.

    Note that Windows NT Primary Domain Controllers expect to be able to claim this dont descend (S)>dont descend (S)

    There are certain directories on some systems @@ -7743,10 +7812,13 @@ CLASS="FILENAME" >. Experimentation is the best policy :-)

    Default: Default: none (i.e., all directories are OK to descend)

    Example: dos charset (G)>dos charset (G)

    DOS SMB clients assume the server has @@ -7768,11 +7840,12 @@ NAME="DOSCHARSET" >

    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 testparm(1) - testparm(1) to check the default on your system.

    dos filemode (S)>dos filemode (S)

    The default behavior in Samba is to provide @@ -7803,21 +7876,19 @@ CLASS="COMMAND" >dos filetime resolution (S)>dos filetime resolution (S)

    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 smbd(8) - smbd(8).

    This option is mainly used as a compatibility option for Visual @@ -7840,7 +7911,7 @@ CLASS="COMMAND" >dos filetimes (S)>dos filetimes (S)

    Under DOS and Windows, if a user can write to a @@ -7854,10 +7925,12 @@ CLASS="COMMAND" on behalf of is not the file owner. Setting this option to yes allows DOS semantics and smbd allows DOS semantics and smbd(8) will change the file timestamp as DOS requires.

    encrypt passwords (G)>encrypt passwords (G)

    This boolean controls whether encrypted passwords @@ -7884,29 +7957,25 @@ CLASS="FILENAME" > shipped with the source code.

    In order for encrypted passwords to work correctly - smbd(8)smbd(8) must either - have access to a local smbpasswd(5) - file (see the smbpasswd(8)smbpasswd(5) file (see the smbpasswd(8) program for information on how to set up and maintain this file), or set the enhanced browsing (G)>enhanced browsing (G)

    This option enables a couple of enhancements to @@ -7958,7 +8027,7 @@ CLASS="COMMAND" >enumports command (G)>enumports command (G)

    The concept of a "port" is fairly foreign @@ -7990,9 +8059,12 @@ CLASS="PARAMETER" to standard output. This listing will then be used in response to the level 1 and 2 EnumPorts() RPC.

    Default: Default: no enumports command

    Example: exec (S)>exec (S)

    This is a synonym for fake directory create times (S)>fake directory create times (S)

    NTFS and Windows VFAT file systems keep a create @@ -8060,7 +8132,7 @@ CLASS="COMMAND" >fake oplocks (S)>fake oplocks (S)

    Oplocks are the way that SMB clients get permission @@ -8113,19 +8185,18 @@ CLASS="COMMAND" >follow symlinks (S)>follow symlinks (S)

    This parameter allows the Samba administrator - to stop smbd(8) - from following symbolic links in a particular share. Setting this + to stop smbd(8) from following symbolic + links in a particular share. Setting this parameter to noforce create mode (S)>force create mode (S)

    This parameter specifies a set of UNIX mode bit - permissions that will always be set on a file created by Samba. This is done by bitwise 'OR'ing these bits onto the mode bits of a file that is being created or having its @@ -8214,13 +8288,16 @@ CLASS="COMMAND" >force directory mode (S)>force directory mode (S)

    This parameter specifies a set of UNIX mode bit - permissions that will always be set on a directory created by Samba. This is done by bitwise 'OR'ing these bits onto the mode bits of a directory that is being created. The default for this @@ -8273,7 +8350,7 @@ CLASS="COMMAND" >force directory security mode (S)>force directory security mode (S)

    This parameter controls what UNIX permission bits @@ -8290,9 +8367,12 @@ NAME="FORCEDIRECTORYSECURITYMODE" allows a user to modify all the user/group/world permissions on a directory without restrictions.

    Note that users who can access the Samba server through other means can easily bypass this restriction, so it is primarily useful for standalone "appliance" systems. @@ -8341,7 +8421,7 @@ CLASS="COMMAND" >force group (S)>force group (S)

    This specifies a UNIX group name that will be @@ -8402,9 +8482,12 @@ CLASS="PARAMETER" >.

    Default: Default: no forced group

    Example: force security mode (S)>force security mode (S)

    This parameter controls what UNIX permission @@ -8434,9 +8517,12 @@ NAME="FORCESECURITYMODE" and allows a user to modify all the user/group/world permissions on a file, with no restrictions.

    Note that users who can access the Samba server through other means can easily bypass this restriction, so it is primarily useful for standalone "appliance" systems. @@ -8485,7 +8571,7 @@ CLASS="COMMAND" >force user (S)>force user (S)

    This specifies a UNIX user name that will be @@ -8515,9 +8601,12 @@ CLASS="PARAMETER" >

    Default: Default: no forced user

    Example: fstype (S)>fstype (S)

    This parameter allows the administrator to configure the string that specifies the type of filesystem a share - is using that is reported by smbd(8) - smbd(8) when a client queries the filesystem type for a share. The default type is getwd cache (G)>getwd cache (G)

    This is a tuning option. When this is enabled a @@ -8600,7 +8687,7 @@ CLASS="COMMAND" >group (S)>group (S)

    Synonym for guest account (S)>guest account (S)

    This is a username which will be used for access @@ -8656,10 +8743,13 @@ CLASS="COMMAND" many parts of the system require this value to be constant for correct operation.

    Default: Default: specified at compile time, usually "nobody"

    Example: guest ok (S)>guest ok (S)

    If this parameter is .

    See the section below on This paramater nullifies the benifits of setting + restrict + anonymous = 2

    See the section below on guest only (S)>guest only (S)

    If this parameter is hide dot files (S)>hide dot files (S)

    This is a boolean parameter that controls whether @@ -8762,7 +8864,7 @@ CLASS="COMMAND" >hide files(S)>hide files(S)

    This is a list of files or directories that are not @@ -8811,9 +8913,12 @@ CLASS="PARAMETER" >.

    Default: Default: no file are hidden

    Example: hide local users(G)>hide local users(G)

    This parameter toggles the hiding of local UNIX @@ -8850,7 +8955,7 @@ CLASS="COMMAND" >hide unreadable (G)>hide unreadable (G)

    This parameter prevents clients from seeing the @@ -8865,7 +8970,7 @@ CLASS="COMMAND" >hide unwriteable files (G)>hide unwriteable files (G)

    This parameter prevents clients from seeing @@ -8882,7 +8987,7 @@ CLASS="COMMAND" >hide special files (G)>hide special files (G)

    This parameter prevents clients from seeing @@ -8899,7 +9004,7 @@ CLASS="COMMAND" >homedir map (G)>homedir map (G)

    If is yes, and smbd(8), and smbd(8) is also acting as a Win95/98

    NOTE :A working NIS client is required on the system for this option to work.

    Default: homedir map = <empty string>homedir map = <empty string>

    Example: host msdfs (G)>host msdfs (G)

    This boolean parameter is only available @@ -9022,7 +9129,7 @@ CLASS="COMMAND" >hostname lookups (G)>hostname lookups (G)

    Specifies whether samba should use (expensive) @@ -9051,7 +9158,7 @@ CLASS="COMMAND" >hosts allow (S)>hosts allow (S)

    A synonym for this parameter is

    You can also specify hosts by network/netmask pairs and by netgroup names if your system supports netgroups. The - EXCEPT keyword can also be used to limit a wildcard list. The following examples may provide some help:

    Note that access still requires suitable user-level passwords.

    See testparm(1) - for a way of testing your host access to see if it does - what you expect.

    See testparm(1) for a way of testing your host access + to see if it does what you expect.

    Default: Default: none (i.e., all hosts permitted access)

    Example: hosts deny (S)>hosts deny (S)

    The opposite of hosts allow - - hosts listed here are NOT permitted access to services unless the specific services have their own lists to override this one. Where the lists conflict, the list takes precedence.

    Default: Default: none (i.e., no hosts specifically excluded)

    Example: hosts equiv (G)>hosts equiv (G)

    If this global parameter is a non-null string, @@ -9228,9 +9345,12 @@ CLASS="PARAMETER" > may be useful for NT clients which will not supply passwords to Samba.

    NOTE : The use of option be only used if you really know what you are doing, or perhaps on a home network where you trust - your spouse and kids. And only if you really trust them :-).

    Default: Default: no host equivalences

    Example: include (G)>include (G)

    This allows you to include one config file @@ -9293,9 +9419,12 @@ CLASS="PARAMETER" >.

    Default: Default: no file included

    Example: inherit acls (S)>inherit acls (S)

    This parameter can be used to ensure @@ -9330,7 +9459,7 @@ CLASS="COMMAND" >inherit permissions (S)>inherit permissions (S)

    The permissions on new files and directories @@ -9405,9 +9534,12 @@ CLASS="PARAMETER" as usual.

    Note that the setuid bit is Note that the setuid bit is never set via inheritance (the code explicitly prohibits this).

    interfaces (G)>interfaces (G)

    This option allows you to override the default @@ -9527,23 +9659,29 @@ CLASS="PARAMETER" >.

    Default: Default: all active interfaces except 127.0.0.1 that are broadcast capable

    invalid users (S)
    >invalid users (S)

    This is a list of users that should not be allowed - to login to this service. This is really a paranoid check to absolutely ensure an improper setting does not breach your security.

    A name starting with '+' is interpreted only by looking in the UNIX group database. A name starting with - '&' is interpreted only by looking in the NIS netgroup database + '&' is interpreted only by looking in the NIS netgroup database (this requires NIS to be working on your system). The characters - '+' and '&' may be used at the start of the name in either order + '+' and '&' may be used at the start of the name in either order so the value +&group+&group means check the UNIX group database, followed by the NIS netgroup database, and the value &+group&+group means check the NIS netgroup database, followed by the UNIX group database (the @@ -9592,9 +9730,12 @@ CLASS="PARAMETER" >.

    Default: Default: no invalid users

    Example: keepalive (G)>keepalive (G)

    The value of the parameter (an integer) represents @@ -9647,7 +9788,7 @@ CLASS="COMMAND" >kernel oplocks (G)>kernel oplocks (G)

    For UNIXes that support kernel based to be broken whenever a local UNIX process or NFS operation - accesses a file that smbd(8) - has oplocked. This allows complete data consistency between - SMB/CIFS, NFS and local file access (and is a smbd(8) has oplocked. This allows complete + data consistency between SMB/CIFS, NFS and local file access (and is + a very - cool feature :-).

    cool feature :-).

    This parameter defaults to lanman auth (G)>lanman auth (G)

    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.

    This parameter determines whether or not smbd(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.

    Default : large readwrite (G)>large readwrite (G)

    This parameter determines whether or not smbd - supports the new 64k streaming read and write varient SMB requests introduced +>This parameter determines whether or not smbd(8) 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 @@ -9767,7 +9912,7 @@ CLASS="COMMAND" >ldap admin dn (G)>ldap admin dn (G)

    The private/secrets.tdb file. See the - smbpasswd(8) man - page for more information on how to accmplish this. + smbpasswd(8) man page for more information on how + to accmplish this.

    Default : Default : none

    ldap filter (G)
    >ldap filter (G)

    This parameter specifies the RFC 2254 compliant LDAP search filter. @@ -9825,14 +9972,14 @@ CLASS="CONSTANT" >

    Default : ldap filter = (&(uid=%u)(objectclass=sambaAccount))ldap filter = (&(uid=%u)(objectclass=sambaAccount))

    ldap port (G)
    >ldap port (G)

    This parameter is only available if Samba has been @@ -9876,7 +10023,7 @@ CLASS="COMMAND" >ldap server (G)>ldap server (G)

    This parameter is only available if Samba has been @@ -9900,14 +10047,17 @@ CLASS="COMMAND" >ldap ssl (G)>ldap ssl (G)

    This option is used to define whether or not Samba should use SSL when connecting to the ldap server - This is NOT related to Samba's previous SSL support which was enabled by specifying the ldap suffix (G)>ldap suffix (G)

    Specifies where user and machine accounts are added to the tree. Can be overriden by ldap machine suffix. It also used as the base dn for all ldap searches.

    Default : Default : none

    ldap user suffix (G)
    >ldap user suffix (G)

    It specifies where users are added to the tree.

    Default : Default : none

    ldap machine suffix (G)
    >ldap machine suffix (G)

    It specifies where machines should be added to the ldap tree.

    Default : Default : none

    ldap passwd sync (G)
    >ldap passwd sync (G)

    This option is used to define whether @@ -10098,7 +10257,7 @@ CLASS="COMMAND" >ldap trust ids (G)>ldap trust ids (G)

    Normally, Samba validates each entry @@ -10127,7 +10286,7 @@ CLASS="COMMAND" >level2 oplocks (S)>level2 oplocks (S)

    This parameter controls whether Samba supports @@ -10211,16 +10370,15 @@ CLASS="COMMAND" >lm announce (G)>lm announce (G)

    This parameter determines if nmbd(8)This parameter determines if nmbd(8) 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 @@ -10291,7 +10449,7 @@ CLASS="COMMAND" >lm interval (G)>lm interval (G)

    If Samba is set to produce Lanman announce @@ -10339,13 +10497,13 @@ CLASS="COMMAND" >load printers (G)>load printers (G)

    A boolean variable that controls whether all printers in the printcap will be loaded for browsing by default. See the printers section for more details.

    local master (G)>local master (G)

    This option allows nmbd(8)This option allows nmbd(8) to try and become a local master browser on a subnet. If set to yes doesn't - mean that Samba will become the local master browser on a subnet, just that nmbd will will participate in elections for local master browser.

    Setting this value to nmbd - never to become a local master browser.

    Default: lock dir (G)>lock dir (G)

    Synonym for lock directory (G)>lock directory (G)

    This option specifies the directory where lock @@ -10466,7 +10632,7 @@ CLASS="COMMAND" >lock spin count (G)>lock spin count (G)

    This parameter controls the number of times @@ -10489,7 +10655,7 @@ CLASS="COMMAND" >lock spin time (G)>lock spin time (G)

    The time in microseconds that smbd should @@ -10516,7 +10682,7 @@ CLASS="COMMAND" >locking (S)>locking (S)

    This controls whether or not locking will be @@ -10536,13 +10702,19 @@ CLASS="COMMAND" >, real locking will be performed by the server.

    This option This option may be useful for read-only - filesystems which may not need locking (such as CDROM drives), although setting this parameter of log file (G)>log file (G)

    This option allows you to override the name @@ -10582,7 +10754,7 @@ CLASS="COMMAND" >log level (G)>log level (G)

    The value of the parameter (a astring) allows @@ -10608,7 +10780,7 @@ CLASS="COMMAND" >logon drive (G)>logon drive (G)

    This parameter specifies the local path to @@ -10640,7 +10812,7 @@ CLASS="COMMAND" >logon home (G)>logon home (G)

    This parameter specifies the home directory @@ -10721,7 +10893,7 @@ CLASS="COMMAND" >logon path (G)>logon path (G)

    This parameter specifies the home directory @@ -10767,9 +10939,12 @@ CLASS="FILENAME" >Thereafter, the directories and any of the contents can, if required, be made read-only. It is not advisable that the NTuser.dat file be made read-only - rename it to NTuser.man to - achieve the desired effect (a MANdatory profile).

    logon script (G)>logon script (G)

    This parameter specifies the batch file (.bat) or @@ -10859,9 +11034,12 @@ CLASS="COMMAND" >This option is only useful if Samba is set up as a logon server.

    Default: Default: no logon script defined

    Example: lppause command (S)>lppause command (S)

    This parameter specifies the command to be @@ -10971,7 +11149,7 @@ CLASS="COMMAND" >lpq cache time (G)>lpq cache time (G)

    This controls how long lpq info will be cached @@ -11036,7 +11214,7 @@ CLASS="COMMAND" >lpq command (S)>lpq command (S)

    This parameter specifies the command to be @@ -11106,7 +11284,9 @@ CLASS="PARAMETER" > parameter.

    Default: Default: depends on the setting of printing

    Example: lpresume command (S)>lpresume command (S)

    This parameter specifies the command to be @@ -11222,7 +11403,7 @@ CLASS="COMMAND" >lprm command (S)>lprm command (S)

    This parameter specifies the command to be @@ -11265,7 +11446,9 @@ CLASS="PARAMETER" > parameter.

    Default: Default: depends on the setting of

    Example 1: machine password timeout (G)>machine password timeout (G)

    If a Samba server is a member of a Windows @@ -11313,14 +11497,12 @@ CLASS="FILENAME" will be changed, in seconds. The default is one week (expressed in seconds), the same as a Windows NT Domain member server.

    See also smbpasswd(8) - See also smbpasswd(8), and the security = domainmagic output (S)>magic output (S)

    This parameter specifies the name of a file @@ -11362,7 +11544,7 @@ CLASS="PARAMETER" >

    Default: magic output = <magic script name>.out +>magic output = <magic script name>.out

    magic script (S)>magic script (S)

    This parameter specifies the name of a file which, @@ -11401,24 +11583,36 @@ CLASS="PARAMETER" >Note that some shells are unable to interpret scripts containing CR/LF instead of CR as the end-of-line marker. Magic scripts must be executable - as is on the host, which for some hosts and some shells will require filtering at the DOS end.

    Magic scripts are Magic scripts are EXPERIMENTAL and - should NOT be relied upon.

    Default: Default: None. Magic scripts disabled.

    Example: mangle case (S)>mangle case (S)

    See the section on NAME MANGLING

    mangled map (S)>mangled map (S)

    This is for those who want to directly map UNIX @@ -11485,9 +11679,12 @@ CLASS="FILENAME" > off the ends of filenames on some CDROMs (only visible under some UNIXes). To do this use a map of (*;1 *;).

    Default: Default: no mangled map

    Example: mangled names (S)>mangled names (S)

    This controls whether non-DOS names under UNIX @@ -11507,7 +11704,7 @@ NAME="MANGLEDNAMES" or whether non-DOS names should simply be ignored.

    See the section on NAME MANGLING for details on how to control the mangling process.

    mangling method (G)>mangling method (G)

    controls the algorithm used for the generating @@ -11610,7 +11807,7 @@ CLASS="COMMAND" >mangle prefix (G)>mangle prefix (G)

    controls the number of prefix @@ -11633,14 +11830,16 @@ CLASS="COMMAND" >mangled stack (G)>mangled stack (G)

    This parameter controls the number of mangled names - that should be cached in the Samba server smbd(8)smbd(8).

    This stack is a list of recently mangled base names @@ -11670,15 +11869,18 @@ CLASS="COMMAND" >mangling char (S)>mangling char (S)

    This controls what character is used as - the magic character in name mangling. The default is a '~' but this may interfere with some software. Use this option to set @@ -11698,7 +11900,7 @@ CLASS="COMMAND" >map archive (S)>map archive (S)

    This controls whether the DOS archive attribute @@ -11734,7 +11936,7 @@ CLASS="COMMAND" >map hidden (S)>map hidden (S)

    This controls whether DOS style hidden files @@ -11766,7 +11968,7 @@ CLASS="COMMAND" >map system (S)>map system (S)

    This controls whether DOS style system files @@ -11798,7 +12000,7 @@ CLASS="COMMAND" >map to guest (G)>map to guest (G)

    This parameter is only useful in .

    This parameter can take three different values, which tell - smbd(8)smbd(8) what to do with user login requests that don't match a valid UNIX user in some way.

    hate you if you set the modes other than share. This is because in these modes the name of the resource being - requested is not sent to the server until after the server has successfully authenticated the client so the server cannot make authentication decisions at the correct time (connection @@ -11926,7 +12136,7 @@ CLASS="COMMAND" >max connections (S)>max connections (S)

    This option allows the number of simultaneous @@ -11966,7 +12176,7 @@ CLASS="COMMAND" >max disk size (G)>max disk size (G)

    This option allows you to put an upper limit @@ -12011,7 +12221,7 @@ CLASS="COMMAND" >max log size (G)>max log size (G)

    This option (an integer in kilobytes) specifies @@ -12038,7 +12248,7 @@ CLASS="COMMAND" >max mux (G)>max mux (G)

    This option controls the maximum number of @@ -12054,14 +12264,16 @@ CLASS="COMMAND" >max open files (G)>max open files (G)

    This parameter limits the maximum number of - open files that one smbd(8)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 @@ -12080,18 +12292,17 @@ CLASS="COMMAND" >max print jobs (S)>max print jobs (S)

    This parameter limits the maximum number of jobs allowable in a Samba printer queue at any given moment. - If this number is exceeded, smbd(8)smbd(8) will remote "Out of Space" to the client. See all max protocol (G)>max protocol (G)

    The value of the parameter (a string) is the highest @@ -12150,9 +12361,12 @@ CLASS="CONSTANT" >LANMAN1: First : First modern version of the protocol. Long filename support.

    max smbd processes (G)>max smbd processes (G)

    This parameter limits the maximum number of @@ -12219,10 +12433,12 @@ CLASS="COMMAND" 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 smbdsmbd(8) associated with him or her to handle connections to all shares from a given host.

    max ttl (G)>max ttl (G)

    This option tells nmbd(8)This option tells nmbd(8) what the default 'time to live' of NetBIOS names should be (in seconds) when max wins ttl (G)>max wins ttl (G)

    This option tells nmbd(8) - This option tells smbd(8) when acting as a WINS server ( max xmit (G)>max xmit (G)

    This option controls the maximum packet size @@ -12333,7 +12552,7 @@ CLASS="COMMAND" >message command (G)>message command (G)

    This specifies what command to run when the @@ -12347,7 +12566,7 @@ NAME="MESSAGECOMMAND" >

    message command = csh -c 'xedit %s;rm %s' &message command = csh -c 'xedit %s;rm %s' &

    xedit, then - removes it afterwards. NOTE THAT IT IS VERY IMPORTANT THAT THIS COMMAND RETURN IMMEDIATELY. That's why I - have the '&' on the end. If it doesn't return immediately then + have the '&' on the end. If it doesn't return immediately then your PCs may freeze when sending messages (they should recover after 30 seconds, hopefully).

    message command = /bin/mail -s 'message from %f on - %m' root < %s; rm %s

    If you don't have a message command then the message @@ -12440,22 +12662,25 @@ CLASS="COMMAND" >message command = rm %s

    Default: Default: no message command

    Example: message command = csh -c 'xedit %s; - rm %s' &

    min passwd length (G)
    >min passwd length (G)

    Synonym for min password length (G)>min password length (G)

    This option sets the minimum length in characters @@ -12519,7 +12744,7 @@ CLASS="COMMAND" >min print space (S)>min print space (S)

    This sets the minimum amount of free disk @@ -12552,7 +12777,7 @@ CLASS="COMMAND" >min protocol (G)>min protocol (G)

    The value of the parameter (a string) is the @@ -12602,13 +12827,15 @@ CLASS="COMMAND" >min wins ttl (G)>min wins ttl (G)

    This option tells nmbd(8)This option tells nmbd(8) when acting as a WINS server (msdfs proxy (S)>msdfs proxy (S)

    This boolean parameter is only available if @@ -12691,15 +12918,15 @@ CLASS="CONSTANT" Dfs links are specified in the share directory by symbolic links of the form msdfs:serverA\shareA,serverB\shareBmsdfs:serverA\\shareA,serverB\\shareB and so on. For more information on setting up a Dfs tree on Samba, refer to msdfs_setup.html - .

    "Hosting a Microsoft + Distributed File System tree on Samba" document.

    See also name cache timeout (G)>name cache timeout (G)

    Specifies the number of seconds it takes before @@ -12743,7 +12970,7 @@ CLASS="COMMAND" >name resolve order (G)>name resolve order (G)

    This option is used by the programs in the Samba @@ -12848,7 +13075,7 @@ CLASS="COMMAND" >netbios aliases (G)>netbios aliases (G)

    This is a list of NetBIOS names that .

    Default: Default: empty string (no additional names)

    Example: netbios name (G)>netbios name (G)

    This sets the NetBIOS name by which a Samba @@ -12909,9 +13139,12 @@ CLASS="PARAMETER" >.

    Default: Default: machine DNS name

    Example: netbios scope (G)>netbios scope (G)

    This sets the NetBIOS scope that Samba will @@ -12934,7 +13167,7 @@ NAME="NETBIOSSCOPE" >nis homedir (G)>nis homedir (G)

    Get the home share server from a NIS map. For @@ -12978,7 +13211,7 @@ CLASS="COMMAND" >non unix account range (G)>non unix account range (G)

    The non unix account range parameter specifies @@ -12996,7 +13229,7 @@ NAME="NONUNIXACCOUNTRANGE" >

    Default: non unix account range = <empty string> +>non unix account range = <empty string>

    nt acl support (S)>nt acl support (S)

    This boolean parameter controls whether @@ -13031,14 +13264,16 @@ CLASS="COMMAND" >nt pipe support (G)>nt pipe support (G)

    This boolean parameter controls whether - smbd(8)smbd(8) will allow Windows NT clients to connect to the NT SMB specific nt status support (G)>nt status support (G)

    This boolean parameter controls whether null passwords (G)>null passwords (G)

    Allow or disallow client access to accounts that have null passwords.

    See also smbpasswd (5)See also smbpasswd(5).

    Default: obey pam restrictions (G)>obey pam restrictions (G)

    When Samba 2.2 is configured to enable PAM support @@ -13135,7 +13372,7 @@ CLASS="COMMAND" >only user (S)>only user (S)

    This is a boolean option that controls whether @@ -13195,7 +13432,7 @@ CLASS="COMMAND" >only guest (S)>only guest (S)

    A synonym for oplock break wait time (G)>oplock break wait time (G)

    This is a tuning parameter added due to bugs in @@ -13223,10 +13460,13 @@ NAME="OPLOCKBREAKWAITTIME" is the amount of time Samba will wait before sending an oplock break request to such (broken) clients.

    DO NOT CHANGE THIS PARAMETER UNLESS YOU HAVE READ AND UNDERSTOOD THE SAMBA OPLOCK CODE.

    Default: oplock contention limit (S)>oplock contention limit (S)

    This is a This is a very advanced

    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 +>In brief it specifies a number, which causes smbd(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 limit. This causes smbd to behave in a similar way to Windows NT.

    DO NOT CHANGE THIS PARAMETER UNLESS YOU HAVE READ AND UNDERSTOOD THE SAMBA OPLOCK CODE.

    Default: oplocks (S)>oplocks (S)

    This boolean option tells ntlm auth (G)>ntlm auth (G)

    This parameter determines whether or not smbdThis parameter determines + whether or not smbd(8) will attempt to authenticate users using the NTLM password hash. If disabled, only the lanman password hashes will be used. @@ -13366,7 +13616,8 @@ TARGET="_top" >Please note that at least this option or lanman auth should be enabled in order to be able to log in. +> should + be enabled in order to be able to log in.

    Default : os level (G)>os level (G)

    This integer value controls what level Samba advertises itself as for browse elections. The value of this - parameter determines whether nmbd(8)nmbd(8) has a chance of becoming a local master browser for the in the local broadcast area.

    Note :By default, Samba will win a local master browsing election over all Microsoft operating systems except a Windows NT 4.0/2000 Domain Controller. This @@ -13426,15 +13682,15 @@ CLASS="COMMAND" >os2 driver map (G)>os2 driver map (G)

    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:

    <nt driver name> = <os2 driver - name>.<device name>

    <nt driver name> = <os2 driver + name>.<device name>

    For example, a valid entry using the HP LaserJet 5 printer driver would appear as

    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.

    Default: os2 driver map = <empty string> +>os2 driver map = <empty string>

    pam password change (G)>pam password change (G)

    With the addition of better PAM support in Samba 2.2, @@ -13505,25 +13756,28 @@ CLASS="COMMAND" >panic action (G)>panic action (G)

    This is a Samba developer option that allows a - system command to be called when either smbd(8) or nmbd(8) - crashes. This is usually used to draw attention to the fact that - a problem occurred.

    smbd(8) or smbd(8) crashes. This is usually used to + draw attention to the fact that a problem occurred.

    Default: panic action = <empty string>panic action = <empty string>

    Example: paranoid server security (G)>paranoid server security (G)

    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. + 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.

    Default: paranoid server security = yespassdb backend (G)>passdb backend (G)

    This option allows the administrator to chose which backends to retrieve and store passwords with. This allows (for example) both @@ -13765,23 +14023,30 @@ CLASS="COMMAND" >passwd chat (G)>passwd chat (G)

    This parameter indicates that the share is a @@ -12668,14 +12895,14 @@ CLASS="PARAMETER" >

    Example: msdfs proxy = \otherserver\somesharemsdfs proxy = \\\\otherserver\\someshare

    msdfs root (S)
    >msdfs root (S)

    This string controls the This string controls the "chat" - conversation that takes places between smbdsmbd(8) and the local password changing program to change the user's password. The string describes a - sequence of response-receive pairs that smbd(8)smbd(8) uses to determine what to send to the yes. This - sequence is then called AS ROOT when the SMB password in the smbpasswd file is being changed, without access to the old password cleartext. This means that root must be able to reset the user's password @@ -13835,16 +14103,16 @@ CLASS="PARAMETER" for the new password. The chat sequence can also contain the standard macros \n\\n, \r\\r, \t \\t and \s\\s to give line-feed, carriage-return, tab and space. The chat sequence string can also contain a '*' which matches any sequence of characters. @@ -13909,14 +14177,14 @@ CLASS="PARAMETER" >

    Default: passwd chat = *new*password* %n\n - *new*password* %n\n *changed*passwd chat = *new*password* %n\\n + *new*password* %n\\n *changed*

    Example: passwd chat = "*Enter OLD password*" %o\n - "*Enter NEW password*" %n\n "*Reenter NEW password*" %n\n "*Password +>passwd chat = "*Enter OLD password*" %o\\n + "*Enter NEW password*" %n\\n "*Reenter NEW password*" %n\\n "*Password changed*"

    passwd chat debug (G)>passwd chat debug (G)

    This boolean specifies if the passwd chat script - parameter is run in debug mode. In this mode the strings passed to and received from the passwd chat are printed - in the smbd(8)smbd(8) log with a passwd program (G)>passwd program (G)

    By specifying the name of another SMB server (such @@ -14216,15 +14504,21 @@ CLASS="PARAMETER" the "LM1.2X002" or the "NT LM 0.12" protocol, and it must be in user level security mode.

    NOTE: Using a password server means your UNIX box (running Samba) is only as secure as your - password server. DO NOT CHOOSE A PASSWORD SERVER THAT YOU DON'T COMPLETELY TRUST.

    Never point a Samba server at itself for password @@ -14281,7 +14575,7 @@ CLASS="PARAMETER" Primary or Backup Domain controllers to authenticate against by doing a query for the name WORKGROUP<1C>WORKGROUP<1C> and then contacting each server returned in the list of IP addresses from the name resolution source.

    Default: password server = <empty string>password server = <empty string>

    path (S)>path (S)

    This parameter specifies a directory to which @@ -14419,9 +14713,12 @@ CLASS="PARAMETER" > if one was specified.

    Default: Default: none

    Example: pid directory (G)>pid directory (G)

    This option specifies the directory where pid @@ -14454,16 +14751,15 @@ CLASS="COMMAND" >posix locking (S)>posix locking (S)

    The smbd(8)The smbd(8) daemon maintains an database of file locks obtained by SMB clients. The default behavior is to map this internal database to POSIX @@ -14481,7 +14777,7 @@ CLASS="COMMAND" >postexec (S)>postexec (S)

    This option specifies a command to be run @@ -14508,23 +14804,26 @@ CLASS="PARAMETER" .

    Default: Default: none (no command executed)

    Example: postexec = echo \"%u disconnected from %S - from %m (%I)\" >> /tmp/log

    postscript (S)
    >postscript (S)

    This parameter forces a printer to interpret @@ -14547,7 +14846,7 @@ CLASS="COMMAND" >preexec (S)>preexec (S)

    This option specifies a command to be run whenever @@ -14560,7 +14859,7 @@ NAME="PREEXEC" >preexec = csh -c 'echo \"Welcome to %S!\" | - /usr/local/samba/bin/smbclient -M %m -I %I' &

    Of course, this could get annoying after a while :-)

    .

    Default: Default: none (no command executed)

    Example: preexec = echo \"%u connected to %S from %m - (%I)\" >> /tmp/log

    preexec close (S)
    >preexec close (S)

    This boolean option controls whether a non-zero @@ -14624,7 +14926,7 @@ CLASS="COMMAND" >preferred master (G)>preferred master (G)

    This boolean parameter controls if prefered master (G)>prefered master (G)

    Synonym for preload (G)>preload (G)

    This is a list of services that you want to be @@ -14722,9 +15024,12 @@ CLASS="PARAMETER" > option is easier.

    Default: Default: no preloaded services

    Example: preserve case (S)>preserve case (S)

    This controls if new filenames are created @@ -14758,7 +15063,7 @@ CLASS="COMMAND" >

    See the section on NAME MANGLING for a fuller discussion.

    print command (S)>print command (S)

    After a print job has finished spooling to @@ -14800,9 +15105,12 @@ CLASS="COMMAND" >%z - the size of the spooled print job (in bytes)

    The print command The print command MUST contain at least one occurrence of

    print command = echo Printing %s >> +>print command = echo Printing %s >> /tmp/print.log; lpr -P %p %s; rm %s

    print ok (S)>print ok (S)

    Synonym for printable (S)>printable (S)

    If this parameter is printcap (G)>printcap (G)

    Synonym for printcap name (G)>printcap name (G)

    This parameter may be used to override the @@ -15011,7 +15319,7 @@ NAME="PRINTCAPNAME" CLASS="FILENAME" > /etc/printcap). See the discussion of the [printers] section above for reasons why you might want to do this.

    A minimal printcap file would look something like this:

    		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

    where the '|' separates aliases of a printer. The fact that the second alias has a space in it gives a hint to Samba that it's a comment.

    NOTE: Under AIX the default printcap name is printer admin (S)>printer admin (S)

    This is a list of users that can do anything to @@ -15124,7 +15425,7 @@ NAME="PRINTERADMIN" >

    Default: printer admin = <empty string>printer admin = <empty string>

    printer driver (S)>printer driver (S)

    Note :This is a deprecated parameter and will be removed in the next major release following version 2.2. Please see the instructions in the Samba 2.2. Printing HOWTOprinter driver file (G)>printer driver file (G)

    Note :This is a deprecated parameter and will be removed in the next major release following version 2.2. Please see the instructions in the Samba 2.2. Printing HOWTO.

    Default: Default: None (set in compile).

    Example: printer driver location (S)>printer driver location (S)

    Note :This is a deprecated parameter and will be removed in the next major release following version 2.2. Please see the instructions in the Samba 2.2. Printing HOWTOprinter name (S)>printer name (S)

    This parameter specifies the name of the printer @@ -15343,13 +15656,16 @@ NAME="PRINTERNAME" name given will be used for any printable service that does not have its own printer name specified.

    Default: Default: none (but may be lp on many systems)

    Example: printer (S)>printer (S)

    Synonym for printing (S)>printing (S)

    This parameters controls how printer status @@ -15458,7 +15774,7 @@ TARGET="_top" >This option can be set on a per printer basis

    See also the discussion in the [printers] section.

    private dir (G)>private dir (G)

    This parameters defines the directory @@ -15489,7 +15805,7 @@ CLASS="COMMAND" >protocol (G)>protocol (G)

    Synonym for public (S)>public (S)

    Synonym for queuepause command (S)>queuepause command (S)

    This parameter specifies the command to be @@ -15551,7 +15867,9 @@ CLASS="PARAMETER" path in the command as the PATH may not be available to the server.

    Default: Default: depends on the setting of

    Example: queueresume command (S)>queueresume command (S)

    This parameter specifies the command to be @@ -15608,7 +15927,9 @@ CLASS="PARAMETER" path in the command as the PATH may not be available to the server.

    Default: Default: depends on the setting of

    read bmpx (G)>read bmpx (G)

    This boolean parameter controls whether read list (S)>read list (S)

    This is a list of users that are given read-only @@ -15702,7 +16024,7 @@ CLASS="PARAMETER" >

    Default: read list = <empty string>read list = <empty string>

    Example: read only (S)>read only (S)

    An inverted synonym is printable = yes) - will ALWAYS allow writing to the directory (user privileges permitting), but only via spooling operations.

    read raw (G)>read raw (G)

    This parameter controls whether or not the server @@ -15788,7 +16113,7 @@ CLASS="COMMAND" >read size (G)>read size (G)

    The option realm (G)>realm (G)

    This option specifies the kerberos realm to use. The realm is @@ -15854,7 +16179,7 @@ CLASS="COMMAND" >remote announce (G)>remote announce (G)

    This option allows you to setup

    See the documentation file BROWSING.txtSee the documentation file BROWSING in the

    Default: remote announce = <empty string> +>remote announce = <empty string>

    remote browse sync (G)>remote browse sync (G)

    This option allows you to setup

    Default: remote browse sync = <empty string> +>remote browse sync = <empty string>

    restrict anonymous (G)>restrict anonymous (G)

    This is a integer parameter, and @@ -15987,7 +16313,7 @@ CLASS="COMMAND" >root (G)>root (G)

    Synonym for root dir (G)>root dir (G)

    Synonym for root directory (G)>root directory (G)

    The server will root directory - option, including some files needed for complete operation of the server. To maintain full operability of the server you will need to mirror some system files @@ -16092,7 +16421,7 @@ CLASS="COMMAND" >root postexec (S)>root postexec (S)

    This is the same as the

    Default: root postexec = <empty string> +>root postexec = <empty string>

    root preexec (S)>root preexec (S)

    This is the same as the

    Default: root preexec = <empty string> +>root preexec = <empty string>

    root preexec close (S)>root preexec close (S)

    This is the same as the security (G)>security (G)

    This option affects how clients respond to @@ -16214,11 +16543,12 @@ CLASS="FILENAME" > file.

    The option sets the "security mode bit" in replies to - protocol negotiations with smbd(8) - 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.

    It is possible to use smbd in a in a hybrid mode where it is offers both user and share level security under different >SECURITY = SHARE

    When clients connect to a share level security server they @@ -16333,9 +16669,12 @@ CLASS="COMMAND" >Note that smbd ALWAYS uses a valid UNIX user to act on behalf of the client, even in

  • If the client did a previous If the client did a previous logon request (the SessionSetup SMB call) then the username sent in this SMB will be added as a potential username.

    , then this guest user will be used, otherwise access is denied.

    Note that it can be Note that it can be very confusing in share-level security as to which UNIX username will eventually be used in granting access.

    See also the section NOTE ABOUT USERNAME/PASSWORD VALIDATION.

    >SECURITY = USER

    This is the default security setting in Samba 2.2. +>This is the default security setting in Samba 3.0. With user-level security a client must first "log-on" with a valid username and password (which can be mapped using the

    Note that the name of the resource being - requested is not sent to the server until after the server has successfully authenticated the client. This is why guest shares don't work in user level security without allowing @@ -16545,62 +16899,87 @@ CLASS="PARAMETER" > parameter for details on doing this.

    See also the section NOTE ABOUT USERNAME/PASSWORD VALIDATION.

    >SECURITY = SERVER +>SECURITY = DOMAIN +

    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 security = user, 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 - smbpasswd file to check users against. See the - documentation file in the docs/ directory - ENCRYPTION.txt for details on how to set this - up.

    This mode will only work correctly if net(8) has been used to add this + machine into a Windows NT Domain. It expects the encrypted passwords + 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.

    Note that from the client's point of - view 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.

    Note that from the client's point + of view security = serversecurity = domain is the same as security = user. It only affects how the server deals - with the authentication, it does not in any way affect what the - client sees.

    security = user +
    . It only affects how the server deals with the authentication, + it does not in any way affect what the client sees.

    Note that the name of the resource being - requested is not sent to the server until after the server has successfully authenticated the client. This is why guest shares don't work in user level security without allowing @@ -16625,7 +17004,7 @@ CLASS="PARAMETER" > parameter for details on doing this.

    See also the section NOTE ABOUT USERNAME/PASSWORD VALIDATION.

    parameter.

    >SECURITY = DOMAIN +>SECURITY = SERVER

    This mode will only work correctly if smbpasswd(8) has been used to add this - machine into a Windows NT Domain. It expects the 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 security = + user. It expects the parameter to be set to 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.

    , 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 + smbpasswd file to check users against. See the + documentation file in the docs/ directory + ENCRYPTION.txt for details on how to set this + up.

    Note 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.

    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).

    Note that from the client's point - of view that from the client's point of + view security = domainsecurity = server is the same as security = user - . It only affects how the server deals with the authentication, - it does not in any way affect what the client sees.

    security = user
    . It only affects how the server deals + with the authentication, it does not in any way affect what the + client sees.

    Note that the name of the resource being - requested is not sent to the server until after the server has successfully authenticated the client. This is why guest shares don't work in user level security without allowing @@ -16731,22 +17148,8 @@ CLASS="PARAMETER" parameter for details on doing this.

    BUG: There is currently a bug in the - implementation of security = domain 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.

    security mask (S)>security mask (S)

    This parameter controls what UNIX permission @@ -16802,9 +17205,12 @@ NAME="SECURITYMASK" a user to modify all the user/group/world permissions on a file.

    Note that users who can access the Samba server through other means can easily bypass this restriction, so it is primarily useful for standalone @@ -16856,7 +17262,7 @@ CLASS="COMMAND" >server string (G)>server string (G)

    This controls what string will show up in the @@ -16901,7 +17307,7 @@ CLASS="COMMAND" >set directory (S)>set directory (S)

    If share modes (S)>share modes (S)

    This enables or disables the honoring of @@ -16971,9 +17377,12 @@ CLASS="CONSTANT" >This option gives full share compatibility and enabled by default.

    You should You should NEVER turn this parameter off as many Windows applications will break if you do so.

    short preserve case (S)>short preserve case (S)

    This boolean parameter controls if new files @@ -17012,7 +17421,7 @@ CLASS="COMMAND" names are lowered.

    See the section on NAME MANGLING.

    show add printer wizard (G)>show add printer wizard (G)

    With the introduction of MS-RPC based printing support @@ -17056,9 +17465,12 @@ CLASS="PARAMETER" > parameter will always cause the OpenPrinterEx() on the server - to fail. Thus the APW icon will never be displayed. Note :This does not prevent the same user from having administrative privilege on an individual printer.

    shutdown script (G)>shutdown script (G)

    This parameter only exists in the HEAD cvs branch This a full path name to a script called by %r will be substituted with the - switch -r. It means reboot after shutdown for NT.

    %f
    will be substituted with the - switch -f. It means force the shutdown even if applications do not respond for NT.

    Default: Default: None.

    Example:

    Shutdown script example: -
    		#!/bin/bash
    +>#!/bin/bash
     		
    -		$time=0
    -		let "time/60"
    -		let "time++"
    +$time=0
    +let "time/60"
    +let "time++"
     
    -		/sbin/shutdown $3 $4 +$time $1 &
    -		
    Shutdown does not return so we need to launch it in background.

    smb passwd file (G)>smb passwd file (G)

    This option sets the path to the encrypted @@ -17234,7 +17648,7 @@ CLASS="COMMAND" >smb ports (G)>smb ports (G)

    Specifies which ports the server should listen on @@ -17250,7 +17664,7 @@ CLASS="COMMAND" >socket address (G)>socket address (G)

    This option allows you to control what @@ -17271,7 +17685,7 @@ CLASS="COMMAND" >socket options (G)>socket options (G)

    This option allows you to set socket options @@ -17352,9 +17766,12 @@ TARGET="_top" >

  • The name of a program that can be used to set @@ -14027,18 +14300,24 @@ CLASS="PARAMETER" will be replaced with the user name. The user name is checked for existence before calling the password changing program.

    Also note that many passwd programs insist in Also note that many passwd programs insist in reasonable passwords, such as a minimum length, or the inclusion of mixed case chars and digits. This can pose a problem as some clients (such as Windows for Workgroups) uppercase the password before sending it.

    Note that if the yes then this program is called then this program is called AS ROOT before the SMB password in the unix password sync parameter - is set this parameter MUST USE ABSOLUTE PATHS - for ALL programs called, and must be examined for security implications. Note that by default password level (G)>password level (G)

    Some client/server combinations have difficulty @@ -14176,7 +14464,7 @@ CLASS="COMMAND" >password server (G)>password server (G)

Those marked with a Those marked with a '*' take an integer argument. The others can optionally take a 1 or 0 argument to enable or disable the option, by default they will be enabled if you @@ -17402,7 +17819,7 @@ CLASS="COMMAND" >source environment (G)>source environment (G)

This parameter causes Samba to set environment @@ -17426,9 +17843,12 @@ CLASS="COMMAND" >SAMBA_NETBIOS_NAME = myhostname

Default: Default: No default value

Examples: use spnego (G)>use spnego (G)

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.

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.

Default: Default: use spnego = yes

stat cache (G)
>stat cache (G)

This parameter determines if smbd(8)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.

stat cache size (G)>stat cache size (G)

This parameter determines the number of @@ -17502,7 +17932,7 @@ CLASS="COMMAND" >strict allocate (S)>strict allocate (S)

This is a boolean that controls the handling of @@ -17539,7 +17969,7 @@ CLASS="COMMAND" >strict locking (S)>strict locking (S)

This is a boolean that controls the handling of @@ -17572,7 +18002,7 @@ CLASS="COMMAND" >strict sync (S)>strict sync (S)

Many Windows applications (including the Windows @@ -17585,10 +18015,12 @@ NAME="STRICTSYNC" CLASS="CONSTANT" >no (the - default) means that smbdsmbd(8) 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 @@ -17616,7 +18048,7 @@ CLASS="COMMAND" >strip dot (G)>strip dot (G)

This is a boolean that controls whether to @@ -17632,7 +18064,7 @@ CLASS="COMMAND" >sync always (S)>sync always (S)

This is a boolean parameter that controls @@ -17683,7 +18115,7 @@ CLASS="COMMAND" >syslog (G)>syslog (G)

This parameter maps how Samba debug messages @@ -17718,7 +18150,7 @@ CLASS="COMMAND" >syslog only (G)>syslog only (G)

If this parameter is set then Samba debug @@ -17734,7 +18166,7 @@ CLASS="COMMAND" >template homedir (G)>template homedir (G)

When filling out the user information for a Windows NT @@ -17768,14 +18200,16 @@ CLASS="COMMAND" >template shell (G)>template shell (G)

When filling out the user information for a Windows NT - user, the winbindd(8)winbindd(8) daemon uses this parameter to fill in the login shell for that user.

time offset (G)>time offset (G)

This parameter is a setting in minutes to add @@ -17810,14 +18244,15 @@ CLASS="COMMAND" >time server (G)>time server (G)

This parameter determines if - nmbd(8)This parameter determines if nmbd(8) advertises itself as a time server to Windows clients.

timestamp logs (G)>timestamp logs (G)

Synonym for total print jobs (G)>total print jobs (G)

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 smbdsmbd(8) 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 @@ -17887,7 +18324,7 @@ CLASS="COMMAND" >unicode (G)>unicode (G)

Specifies whether Samba should try @@ -17904,7 +18341,7 @@ CLASS="COMMAND" >unix charset (G)>unix charset (G)

Specifies the charset the unix machine @@ -17914,19 +18351,19 @@ NAME="UNIXCHARSET" >

Default: unix charset = ASCIIunix charset = UTF8

Example: unix charset = UTF8unix charset = ASCII

unix extensions(G)
>unix extensions(G)

This boolean parameter controls whether Samba @@ -17945,7 +18382,7 @@ CLASS="COMMAND" >unix password sync (G)>unix password sync (G)

This boolean parameter controls whether Samba @@ -17960,9 +18397,12 @@ CLASS="PARAMETER" >passwd programparameter is called parameter is called AS ROOT - to allow the new UNIX password to be set without access to the old UNIX password (as the SMB password change code has no @@ -17996,7 +18436,7 @@ CLASS="COMMAND" >update encrypted (G)>update encrypted (G)

This boolean parameter allows a user logging @@ -18051,7 +18491,7 @@ CLASS="COMMAND" >use client driver (S)>use client driver (S)

This parameter applies only to Windows NT/2000 @@ -18080,11 +18520,14 @@ CLASS="COMMAND" >If this parameter is enabled for a printer, then any attempt to open the printer with the PRINTER_ACCESS_ADMINISTER right is mapped to PRINTER_ACCESS_USE instead. Thus allowing the OpenPrinterEx() - call to succeed. This parameter MUST not be able enabled on a print share which has valid print driver installed on the Samba server.

See also use mmap (G)>use mmap (G)

This global parameter determines if the tdb internals of Samba can @@ -18126,7 +18569,7 @@ CLASS="COMMAND" >use rhosts (G)>use rhosts (G)

If this global parameter is

NOTE: The use of user (S)>user (S)

Synonym for users (S)>users (S)

Synonym for username (S)>username (S)

Multiple users may be specified in a comma-delimited @@ -18268,7 +18714,7 @@ CLASS="PARAMETER" 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.

See the section NOTE ABOUT USERNAME/PASSWORD VALIDATION for more information on how @@ -18287,7 +18733,7 @@ HREF="#AEN238" >Default: The guest account if a guest service, - else <empty string>.

Examples:username level (G)>username level (G)

This option helps Samba to try and 'guess' at @@ -18334,7 +18780,7 @@ CLASS="COMMAND" >username map (G)>username map (G)

This option allows you to specify a file containing @@ -18424,20 +18870,10 @@ CLASS="COMMAND" '!' to tell Samba to stop processing if it gets a match on that line.

		!sys = mary fred
-		guest = *
-		
!sys = mary fred +guest = *

Note that the remapping is applied to all occurrences @@ -18474,9 +18910,12 @@ CLASS="PARAMETER" trouble deleting print jobs as PrintManager under WfWg will think they don't own the print job.

Default: Default: no username map

Example: use sendfile (S)>use sendfile (S)

If this parameter is utmp (G)>utmp (G)

This boolean parameter is only available if @@ -18553,7 +18992,7 @@ CLASS="COMMAND" >utmp directory(G)>utmp directory(G)

This parameter is only available if Samba has @@ -18578,9 +19017,12 @@ CLASS="FILENAME" >/var/run/utmp on Linux).

Default: Default: no utmp directory

Example: wtmp directory(G)>wtmp directory(G)

This parameter is only available if Samba has @@ -18621,9 +19063,12 @@ CLASS="FILENAME" >/var/run/wtmp on Linux).

Default: Default: no wtmp directory

Example: valid users (S)>valid users (S)

This is a list of users that should be allowed - to login to this service. Names starting with '@', '+' and '&' + to login to this service. Names starting with '@', '+' and '&' are interpreted using the same rules as described in the

Default: Default: No valid users list (anyone can login)

Example: veto files(S)>veto files(S)

This is a list of files and directories that @@ -18701,9 +19149,12 @@ NAME="VETOFILES" or directories as in DOS wildcards.

Each entry must be a unix path, not a DOS path and - must not include the unix directory separator '/'.

fail unless you also set the .

Default: Default: No files or directories are vetoed.

Examples:
Examples:
; Veto any files containing the word Security, 
 ; any ending in .tmp, and any directory containing the
@@ -18781,16 +19232,13 @@ veto files = /*Security*/*.tmp/*root*/
 ; Veto the Apple specific files that a NetAtalk server
 ; creates.
 veto files = /.AppleDouble/.bin/.AppleDesktop/Network Trash Folder/

veto oplock files (S)
>veto oplock files (S)

This parameter is only valid when the parameter.

Default: Default: No files are vetoed for oplock grants

You might want to do this on files that you know will @@ -18843,7 +19294,7 @@ CLASS="COMMAND" >vfs path (S)>vfs path (S)

This parameter specifies the directory @@ -18868,7 +19319,7 @@ CLASS="COMMAND" >vfs object (S)>vfs object (S)

This parameter specifies a shared object files that @@ -18876,16 +19327,19 @@ NAME="VFSOBJECT" disk I/O operations are used but these can be overloaded with one or more VFS objects.

Default : Default : no value

vfs options (S)
>vfs options (S)

This parameter allows parameters to be passed @@ -18900,32 +19354,38 @@ CLASS="PARAMETER" >.

Default : Default : no value

volume (S)
>volume (S)

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: Default: the name of the share

wide links (S)
>wide links (S)

This parameter controls whether or not links @@ -18947,14 +19407,16 @@ CLASS="COMMAND" >winbind cache time (G)>winbind cache time (G)

This parameter specifies the number of seconds the - winbindd(8)This parameter specifies the number of + seconds the winbindd(8) daemon will cache user and group information before querying a Windows NT server again.

winbind enum users (G)>winbind enum users (G)

On large installations using - winbindd(8)On large installations using winbindd(8) it may be - necessary to suppress the enumeration of users through the - setpwent()setpwent(), system call will not return any data.

Warning: Turning off user enumeration may cause some programs to behave oddly. For example, the finger program relies on having access to the @@ -19023,19 +19488,19 @@ CLASS="COMMAND" >winbind enum groups (G)>winbind enum groups (G)

On large installations using - winbindd(8) it may be - necessary to suppress the enumeration of groups through the - On large installations using winbindd(8) it may be necessary to suppress + the enumeration of groups through the setgrent()setgrent(), system call will not return any data.

Warning: Turning off group enumeration may cause some programs to behave oddly.

winbind gid (G)>winbind gid (G)

The winbind gid parameter specifies the range of group - ids that are allocated by the winbindd(8)winbindd(8) daemon. This range of group ids should have no existing local or NIS groups within it as strange conflicts can occur otherwise.

Default: winbind gid = <empty string> +>winbind gid = <empty string>

winbind separator (G)>winbind separator (G)

This parameter allows an admin to define the character @@ -19148,21 +19618,23 @@ CLASS="COMMAND" >winbind uid (G)>winbind uid (G)

The winbind gid parameter specifies the range of group - ids that are allocated by the winbindd(8)winbindd(8) daemon. This range of ids should have no existing local or NIS users within it as strange conflicts can occur otherwise.

Default: winbind uid = <empty string> +>winbind uid = <empty string>

winbind use default domain, winbind use default domain (G)
>winbind use default domain (G)

This parameter specifies whether the winbindd(8) - daemon should operate on users without domain component in their username. +>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.

Default: winbind use default domain = <no> +>winbind use default domain = <no>

wins hook (G)>wins hook (G)

When Samba is running as a WINS server this @@ -19268,7 +19742,7 @@ CLASS="COMMAND" >wins proxy (G)>wins proxy (G)

This is a boolean that controls if wins server (G)>wins server (G)

This specifies the IP address (or DNS name: IP - address for preference) of the WINS server that nmbd(8)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 multi-subnetted network.

NOTE. You need to set up Samba to point to a WINS server if you have multiple subnets and wish cross-subnet browsing to work correctly.

See the documentation file BROWSING.txtSee the documentation file BROWSING in the docs/ directory of your Samba source distribution.

Default: Default: not enabled

Example: wins support (G)>wins support (G)

This boolean controls if the - nmbd(8)This boolean controls if the nmbd(8) process in Samba will act as a WINS server. You should not set this to nmbd to be your WINS server. - Note that you should NEVER set this to yesworkgroup (G)>workgroup (G)

This controls what workgroup your server will @@ -19381,9 +19868,12 @@ CLASS="COMMAND" > setting.

Default: Default: set at compile time to WORKGROUP

Example: writable (S)>writable (S)

Synonym for write cache size (S)>write cache size (S)

If this integer parameter is set to non-zero value, Samba will create an in-memory cache for each oplocked file - (it does not do this for non-oplocked files). All writes that the client does not request to be flushed directly to disk will be stored in this cache if possible. @@ -19453,7 +19946,7 @@ CLASS="COMMAND" >write list (S)>write list (S)

This is a list of users that are given read-write @@ -19486,7 +19979,7 @@ CLASS="PARAMETER" >

Default: write list = <empty string> +>write list = <empty string>

wins partners (G)>wins partners (G)

A space separated list of partners' IP addresses for @@ -19524,7 +20017,7 @@ CLASS="COMMAND" >write ok (S)>write ok (S)

Inverted synonym for write raw (G)>write raw (G)

This parameter controls whether or not the server @@ -19557,7 +20050,7 @@ CLASS="COMMAND" >writeable (S)>writeable (S)

Inverted synonym for

WARNINGS

On a similar note, many clients - especially DOS clients - - limit service names to eight characters. smbd(8) - 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 @@ -19606,97 +20100,81 @@ TARGET="_top" >

VERSION

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.

SEE ALSO

samba(7), - smbpasswd(8), - swat(8), - smbd(8), - nmbd(8), - smbclient(1), - nmblookup(1), - testparm(1), - testprns(1) -

samba(7), smbpasswd(8), swat(8), smbd(8), nmbd(8), smbclient(1), nmblookup(1), testparm(1), testprns(1).

AUTHOR

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/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for - Samba 2.2 was done by Gerald Carter