From 55abd936a838a4410899db76cb5530b0c4694dc9 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 10 Oct 2001 17:19:10 +0000 Subject: mega-merge from 2.2 (This used to be commit c76bf8ed3275e217d1b691879153fe9137bcbe38) --- docs/htmldocs/smb.conf.5.html | 1232 +++++++++++++++++++++++++++++------------ 1 file changed, 881 insertions(+), 351 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 3a2a99a1f3..5fe4f3cf97 100644 --- a/docs/htmldocs/smb.conf.5.html +++ b/docs/htmldocs/smb.conf.5.html @@ -758,7 +758,7 @@ CLASS="VARIABLELIST" upper case, or if they are forced to be the "default" case. This option can be use with "preserve case = yes" to permit long filenames to retain their case, while short names - are lowered. Default yes.

  • The client's netbios name and any previously +>The client's NetBIOS name and any previously used user names are checked against the supplied password, if they match then the connection is allowed as the corresponding user.

  • abort shutdown script

  • add machine script

  • disable spoolss

  • hide unreadable

  • large readwrite

  • shutdown script

  • utmp

  • winbind enum users

  • winbind enum groups

  • COMPLETE LIST OF SERVICE PARAMETERS

  • share modes

  • useruse client driver

  • usernameuser

  • usersusername

  • utmpusers

    EXPLANATION OF EACH PARAMETER

    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 + should stop a shutdown procedure issued by the shutdown script.

    This command will be run as user.

    Default: None.

    Example: abort shutdown script = /sbin/shutdown -c

    add printer command (G)

    For a Samba host this means that the printer must be - physically added to underlying printing system. The add @@ -4521,6 +4657,37 @@ CLASS="COMMAND" >

    add machine script (G)

    This is the full pathname to a script that will + 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 + Unix uid method of RID calculation such as smbpasswd. This option is only + available in Samba 3.0.

    Default: add machine script = <empty string> +

    Example: add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u +

    add user script (G)
    domain. If it is set to no, then attempts to connect to a resource from - a domain or workgroup other than the one which smbd is running + a domain or workgroup other than the one which smbd is running in will fail, even if that domain is trusted by the remote server doing the authentication.

    annouce version (G)announce version (G)

    This specifies the major and minor version numbers @@ -4797,7 +4968,7 @@ NAME="ANNOUNCEVERSION" >

    Default: announce version = 4.2announce version = 4.5

    Example:

    This global parameter allows the Samba admin - to limit what interfaces on a machine will serve smb requests. If + to limit what interfaces on a machine will serve SMB requests. If affects file service

    If this parameter is set to Falsefalse, then Samba 2.2 will behave as previous versions of Samba would and will fail the lock request immediately if the lock range @@ -5362,7 +5533,11 @@ NAME="CHARACTERSET" >character set (G)

    This allows a smbd to map incoming filenames +>This allows smbd to map incoming filenames from a DOS Code page (see the client @@ -5749,7 +5924,7 @@ CLASS="COMMAND" >codingsystem (G)coding system (G)

    This parameter is used to determine how incoming @@ -6137,7 +6312,11 @@ NAME="DEBUGPID" >

    When using only one log file for more then one - forked smbd-process there may be hard to follow which process + forked smbd-process there may be hard to follow which process outputs which message. This boolean parameter is adds the process-id to the timestamp message headers in the logfile when turned on.

    delete share +>add share commandchange - share. @@ -6763,13 +6942,16 @@ CLASS="PARAMETER" > - option). If this option is set to False (the default) then if a vetoed + option). If this option is set to false (the default) then if a vetoed directory contains any non-vetoed files or directories then the directory delete will fail. This is usually what you want.

    If this option is set to Truetrue, then Samba will attempt to recursively delete any files and directories within the vetoed directory. This can be useful for integration with file @@ -7080,7 +7262,10 @@ NAME="DIRECTORYSECURITYMASK" Samba server through other means can easily bypass this restriction, so it is primarily useful for standalone "appliance" systems. Administrators of most normal systems will probably want to leave - it as the default of 0777.

    0777
    .

    See also the

    disable spoolss (G)

    Enabling this parameter will disables Samba's support + for the SPOOLSS set of MS-RPC's and will yield identical behavior + as Samba 2.0.x. Windows NT/2000 clients will downgrade to using + Lanman style printing commands. Windows 9x/ME will be uneffected by + the parameter. However, this will also disable the ability to upload + printer drivers to a Samba server via the Windows NT Add Printer + 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. +

    See also use client driver +

    Default : disable spoolss = no

    dns proxy (G)
    domain logons (G)

    If set to true, the Samba server will serve +>If set to true, the Samba server will serve Windows 95/98 Domain logons for the

    The default behavior in Samba is to provide - UNIX-like behavor where only the owner of a file/directory is + UNIX-like behavior where only the owner of a file/directory is able to change the permissions on it. However, this behavior is often confusing to DOS/Windows users. Enabling this parameter allows a user who has write access to the file (by whatever @@ -7516,8 +7736,12 @@ CLASS="COMMAND" > is acting on behalf of is not the file owner. Setting this option to True allows DOS semantics and smbd will change the file +> true allows DOS semantics and smbd will change the file timestamp as DOS requires.

    Default:

    This option enables a couple of enhancements to - cross-subnet browse propogation that have been added in Samba + cross-subnet browse propagation that have been added in Samba but which are not standard in Microsoft implementations. - These enhancements are currently only available in - the HEAD Samba CVS tree (not Samba 2.2.x).

    The first enhancement to browse propogation consists of a regular +>The first enhancement to browse propagation consists of a regular wildcard query to a Samba WINS server for all Domain Master Browsers, - followed by a browse synchronisation with each of the returned + followed by a browse synchronization with each of the returned DMBs. The second enhancement consists of a regular randomised browse - synchronisation with all currently known DMBs.

    You may wish to disable this option if you have a problem with empty workgroups not disappearing from browse lists. Due to the restrictions @@ -7609,7 +7830,7 @@ NAME="ENHANCEDBROWSING" to stay around forever which can be annoying.

    In general you should leave this option enabled as it makes - cross-subnet browse propogation much more reliable.

    Default: to true.

    to true.

    See also the parameter to true.

    to true.

    See also the parameter parameter is set to Falsefalse.

    Default:

    hide unreadable (S)

    This parameter prevents clients from seeing the + existance of files that cannot be read. Defaults to off.

    Default: hide unreadable = no

    homedir map (G)
    is Truetrue
    , and hosts equiv may be useful for NT clients which will - not supply passwords to samba.

    NOTE :

    This can be particularly useful on large systems with - many users, perhaps several thousand,to allow a single [homes] + many users, perhaps several thousand, to allow a single [homes] share to be used flexibly by each user.

    See also &+group"&+group means check the NIS netgroup database, followed by the UNIX group database (the @@ -9249,12 +9491,9 @@ CLASS="COMMAND" >This parameter defaults to on on systems - that have the support, and off on systems that - don't. You should never need to touch this parameter.

    , but is translated + to a no-op on systems that no not have the necessary kernel support. + You should never need to touch this parameter.

    See also the lanman auth (G)

    This parameter determines whether or not smbd will - attempt to authentication users using the LANMAN password hash. +>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.

    large readwrite (G)

    This parameter determines whether or not smbd + supports the new 64k streaming read and write varient SMB requests introduced + with Windows 2000. Note that due to Windows 2000 client redirector bugs + this requires Samba to be running on a 64-bit capable operating system such + as IRIX, Solaris or a Linux 2.4 kernel. Can improve performance by 10% with + Windows 2000 clients. Defaults to off. Not as tested as some other Samba + code paths. +

    Default : large readwrite = no

    level2 oplocks (S)
    parameter must be set to "true" on this share in order for +> parameter must be set to true on this share in order for this parameter to have any effect.

    See also the to try and become a local master browser on a subnet. If set to Falsefalse then nmbd will not attempt to become a local master browser on a subnet and will also lose in all browsing elections. By - default this value is set to true. Setting this value to true doesn't + default this value is set to true. Setting this value to true doesn't mean that Samba will become the local master @@ -9562,7 +9839,10 @@ CLASS="COMMAND" > participate in elections for local master browser.

    Setting this value to False will cause Setting this value to false will cause nmbd @@ -9653,7 +9933,7 @@ CLASS="COMMAND" filesystems which may not need locking (such as - cdrom drives), although setting this parameter of no @@ -9783,7 +10063,7 @@ CLASS="COMMAND" in a NetUserGetInfo request. Win9X clients truncate the info to \\server\share when a user does net use /home"net use /home but use the whole string when dealing with profiles.

    The share and the path must be readable by the user for the preferences and directories to be loaded onto the Windows NT - client. The share must be writeable when the logs in for the first + client. The share must be writeable when the user logs in for the first time, in order that the Windows NT client can create the NTuser.dat and other directories.

    This parameter specifies the batch file (.bat) or NT command file (.cmd) to be downloaded and run on a machine when a user successfully logs in. The file must contain the DOS - style cr/lf line endings. Using a DOS-style editor to create the + style CR/LF line endings. Using a DOS-style editor to create the file is recommended.

    The script must be a relative path to the [netlogon] @@ -9937,7 +10217,7 @@ CLASS="FILENAME" >/usr/local/samba/netlogon/STARTUP.BAT

    The contents of the batch file is entirely your choice. A +>The contents of the batch file are entirely your choice. A suggested command would be to add NET TIME \\SERVER /SET @@ -9994,7 +10274,7 @@ CLASS="PARAMETER" >%p is given then the printername +> is given then the printer name is put in its place. A printing = hpux +>printing=hpux ), if the %p is given then the printername +> is given then the printer name is put in its place. Otherwise it is placed at the end of the command.

    %p is given then the printername +> is given then the printer name is put in its place. A %p is given then the printername +> is given then the printer name is put in its place. A machine password timeout (G)

    If a Samba server is a member of an Windows +>If a Samba server is a member of a Windows NT Domain (see the security = domain

    Scripts executed in this way will be deleted upon - completion assuming that the user has the appripriate level - of priviledge and the ile permissions allow the deletion.

    If the script generates output, output will be sent to the file specified by the

    This is for those who want to directly map UNIX - file names which can not be represented on Windows/DOS. The mangling + file names which cannot be represented on Windows/DOS. The mangling of names is not always what is needed. In particular you may have documents with file extensions that differ between DOS and UNIX. For example, under UNIX it is common to use ;1 off the ends of filenames on some CDROMS (only visible +> off the ends of filenames on some CDROMs (only visible under some UNIXes). To do this use a map of (*;1 *;).

    Default:

    The larger this value, the more likely it is that mangled names can be successfully converted to correct long UNIX names. - However, large stack sizes will slow most directory access. Smaller + However, large stack sizes will slow most directory accesses. Smaller stacks save memory in the server (each stack element costs 256 bytes).

    It is not possible to absolutely guarantee correct long - file names, so be prepared for some surprises!

    Default:

    This option controls the maximum number of - outstanding simultaneous SMB operations that samba tells the client + outstanding simultaneous SMB operations that Samba tells the client it will allow. You should never need to set this parameter.

    Default: processes concurrently running on a system and is intended - as a stop gap to prevent degrading service to clients in the event + 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 smbd associated with him or her + conditions, each user will have an smbd associated with him or her to handle connections to all shares from a given host.

    . That's why I have the '&' on the end. If it doesn't return immediately then your PCs may freeze when sending messages (they should recover - after 30secs, hopefully).

    All messages are delivered as the global guest user. The command takes the standard substitutions, although

    Default: name resolve order = lmhosts wins host bcast +>name resolve order = lmhosts host wins bcast

    obey pam restrictions (G)

    When Samba 2.2 is configure to enable PAM support +>When Samba 2.2 is configured to enable PAM support (i.e. --with-pam), this parameter will control whether or not Samba should obey PAM's account and session management directives. The default behavior is to use PAM for clear text authentication only @@ -12190,7 +12474,11 @@ TARGET="_top" improve the efficiency of the granting of oplocks under multiple client contention for the same file.

    In brief it specifies a number, which causes smbd not to +>In brief it specifies a number, which causes smbd not to grant an oplock even when requested if the approximate number of clients contending for an oplock on the same file goes over this limit. This causes oplocks (S)

    This boolean option tells smbd whether to +>This boolean option tells smbd whether to issue oplocks (opportunistic locks) to file open requests on this share. The oplock code can dramatically (approx. 30% or more) improve the speed of access to files on Samba servers. It allows the clients @@ -12338,7 +12629,7 @@ NAME="OS2DRIVERMAP" name>.<device name>

    For example, a valid entry using the HP LaserJet 5 - printer driver woudl appear as HP LaserJet 5L = LASERJET.HP LaserJet 5L

    With the addition of better PAM support in Samba 2.2, - this parameter, it is possible to use PAM's password change control - flag for Samba. If enabled, then PAM will be used for password - changes when requested by an SMB client, and the passwd program. + It should be possible to enable this without changing your + passwd chat must be - be changed to work with the pam prompts. -

    + parameter for most setups. +

    Default: smbd and the local password changing - program to change the users password. The string describes a + program to change the user's password. The string describes a sequence of response-receive pairs that

    The string can contain the macros Note that this parameter only is only used if the %ounix + password sync - and parameter is set to 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 + without knowing the text of the previous password. In the presence of NIS/YP, + this means that the passwd program must be + executed on the NIS master. +

    The string can contain the macro %n which are substituted for the old - and new passwords respectively. It can also contain the standard +> which is substituted + for the new password. The chat sequence can also contain the standard macros \n \t and %s\s to give line-feed, - carriage-return, tab and space.

    The string can also contain a '*' which matches - any sequence of characters.

    Double quotes can be used to collect strings with spaces + carriage-return, tab and space. The chat sequence string can also contain + a '*' which matches any sequence of characters. + Double quotes can be used to collect strings with spaces in them into a single string.

    If the send string in any part of the chat sequence - is a fullstop ".", then no string is sent. Similarly, - if the expect string is a fullstop then no string is expected.

    Note that if the unix - password sync parameter is set to true, then this - sequence is called AS ROOT when the SMB password - in the smbpasswd file is being changed, without access to the old - password cleartext. In this case the old password cleartext is set - to "" (the empty string).

    Also, if the If the pam - password change parameter is set to true, then the - chat sequence should consist of three elements. The first element should - match the pam prompt for the old password, the second element should match - the pam prompt for the first request for the new password, and the final - element should match the pam prompt for the second request for the new password. - These matches are done case insentively. Under most conditions this change - is done as root so the prompt for the old password will never be matched. -

    parameter is set to true, the chat pairs + may be matched in any order, and sucess is determined by the PAM result, + not any particular output. The \n macro is ignored for PAM conversions. +

    See also passwd program and should - be turned off after this has been done. This parameter is off by - default.

    pam password change + paramter is set. This parameter is off by default.

    See also <See also passwd chat - , pam password change + , passwd program - .

    Default: parameter is set to True +>true then this program is called AS ROOT is set to Falsefalse.

    See also

    An interesting example may be do unmount server +>An interesting example may be to unmount server resources:

    This parameter forces a printer to interpret - the print files as postscript. This is done by adding a %! is a preferred master browser for its workgroup.

    If this is set to true, on startup, If this is set to true, on startup, nmbd @@ -13708,17 +14027,15 @@ NAME="PRINTERDRIVER" >

    Note :This is a depreciated +>This is a deprecated parameter and will be removed in the next major release following version 2.2. Please see the instructions in - PRINTER_DRIVER2.txt in the docs - of the Samba distribution for more information + the Samba 2.2. Printing + HOWTO for more information on the new method of loading printer drivers onto a Samba server.

    Note :This is a depreciated +>This is a deprecated parameter and will be removed in the next major release following version 2.2. Please see the instructions in - PRINTER_DRIVER2.txt in the docs - of the Samba distribution for more information + the Samba 2.2. Printing + HOWTO for more information on the new method of loading printer drivers onto a Samba server.

    files found on the Windows 95 client system. For more details on setting up serving of printer drivers to Windows 95 - clients, see the documentation file in the docs/ @@ -13841,17 +14156,15 @@ NAME="PRINTERDRIVERLOCATION" >

    Note :This is a depreciated +>This is a deprecated parameter and will be removed in the next major release following version 2.2. Please see the instructions in - PRINTER_DRIVER2.txt in the docs - of the Samba distribution for more information + the Samba 2.2. Printing + HOWTO for more information on the new method of loading printer drivers onto a Samba server.

    Where MACHINE is the NetBIOS name of your Samba server, and PRINTER$ is a share you set up for serving printer driver - files. For more details on setting this up see the documentation + files. For more details on setting this up see the outdated documentation file in the docs/lprm command if specified in the - [global]f> section.

    Currently eight printing styles are supported. They are

    This parameter specifies the command to be - executed on the server host in order to pause the printerqueue.

    This command should be a program or script which takes - a printer name as its only parameter and stops the printerqueue, + a printer name as its only parameter and stops the printer queue, such that no longer jobs are submitted to the printer.

    This command is not supported by Windows for Workgroups, - but can be issued from the Printer's window under Windows 95 + but can be issued from the Printers window under Windows 95 and NT.

    If a %p is given then the printername +> is given then the printer name is put in its place. Otherwise it is placed at the end of the command.

    This parameter specifies the command to be - executed on the server host in order to resume the printerqueue. It + executed on the server host in order to resume the printer queue. It is the command to undo the behavior that is caused by the previous parameter ().

    This command should be a program or script which takes - a printer name as its only parameter and resumes the printerqueue, + a printer name as its only parameter and resumes the printer queue, such that queued jobs are resubmitted to the printer.

    This command is not supported by Windows for Workgroups, - but can be issued from the Printer's window under Windows 95 + but can be issued from the Printers window under Windows 95 and NT.

    If a %p is given then the printername +> is given then the printer name is put in its place. Otherwise it is placed at the end of the command.

    the above line would cause nmbd to announce itself +>the above line would cause nmbd to announce itself to the two given IP addresses using the given workgroup names. If you leave out the workgroup name then the one given in the nmbd(8) to periodically request - synchronization of browse lists with the master browser of a samba + synchronization of browse lists with the master browser of a Samba server that is on a remote segment. This option will allow you to gain browse lists for multiple workgroups across routed networks. This - is done in a manner that does not work with any non-samba servers.

    This is useful if you want your Samba server and all local clients to appear in a remote workgroup for which the normal browse @@ -14447,7 +14763,7 @@ CLASS="COMMAND" of known browse masters if your network config is that stable. If a machine IP address is given Samba makes NO attempt to validate that the remote machine is available, is listening, nor that it - is in fact the browse master on it's segment.

    Default: restrict acl with mask (S)

    This is a boolean parameter. If set to false (default), then - Creation of files with access control lists (ACLS) and modification of ACLs +>This is a boolean parameter. If set to false (default), then + creation of files with access control lists (ACLS) and modification of ACLs using the Windows NT/2000 ACL editor will be applied directly to the file or directory.

    If set to True, then all requests to set an ACL on a file will have the +>If set to true, then all requests to set an ACL on a file will have the parameters restrict anonymous (G)

    This is a boolean parameter. If it is true, then +>This is a boolean parameter. If it is true, then anonymous access to the server will be restricted, namely in the case where the server is expecting the client to send a username, - but it doesn't. Setting it to true will force these anonymous + but it doesn't. Setting it to true will force these anonymous connections to be denied, and the client will be required to always supply a username and password when connecting. Use of this parameter is only recommended for homogeneous NT client environments.

    When restrict anonymous is true, all anonymous connections +>When restrict anonymous is true, all anonymous connections are denied no matter what they are for. This can effect the ability - of a machine to access the samba Primary Domain Controller to revalidate - it's machine account after someone else has logged on the client + of a machine to access the Samba Primary Domain Controller to revalidate + its machine account after someone else has logged on the client interactively. The NT client will display a message saying that the machine's account in the domain doesn't exist or the password is bad. The best way to deal with this is to reboot NT client machines @@ -14631,7 +14962,7 @@ NAME="ROOTDIRECTORY" CLASS="COMMAND" >chroot() (i.e. - Change it's root directory) to this directory on startup. This is + Change its root directory) to this directory on startup. This is not strictly necessary for secure operation. Even without it the server will deny access to files not in one of the service entries. It may also check for, and deny access to, soft links to other @@ -14705,7 +15036,7 @@ CLASS="PARAMETER" > parameter except that the command is run as root. This is useful for unmounting filesystems - (such as cdroms) after a connection is closed.

    See also parameter except that the command is run as root. This - is useful for mounting filesystems (such as cdroms) after a - connection is closed.

    See also

    When clients connect to a share level security server then +>When clients connect to a share level security server they need not log onto the server with a valid username and password before attempting to connect to a shared resource (although modern clients such as Windows 95/98 and Windows NT will send a logon request with @@ -15066,7 +15397,7 @@ HREF="#AEN235" NAME="SECURITYEQUALSUSER" >SECURIYT = USER +>SECURITY = USER

    Note that from the clients point of +> that from the client's point of view security = server

    Note that from the clients point +> that from the client's point of view security = domain0777.

    See also the

    share modes (S)

    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

    short preserve case (S)
    printer admin group), the OpenPrinterEx() - call fails and the clients another open call with a request for + call fails and the client makes another open call with a request for a lower privilege level. This should succeed, however the APW icon will not be displayed.

    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 + should start a shutdown procedure.

    This command will be run as the user connected to the + server.

    %m %t %r %f parameters are expanded

    %m will be substituted with the + shutdown message sent to the server.

    %t will be substituted with the + number of seconds to wait before effectively starting the + shutdown procedure.

    %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: None.

    Example: abort shutdown script = /usr/local/samba/sbin/shutdown %m %t %r %f

    Shutdown script example: +
    		#!/bin/bash
    +		
    +		$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. +

    See also abort shutdown script.

    smb passwd file (G)

    By default samba will accept connections on any +>By default Samba will accept connections on any address.

    Example: no, the SSL enabled samba behaves - exactly like the non-SSL samba. If set to , the SSL-enabled Samba behaves + exactly like the non-SSL Samba. If set to yes, @@ -15971,7 +16356,7 @@ CLASS="COMMAND" >

    This variable defines where to look up the Certification Authorities. The given directory should contain one file for - each CA that samba will trust. The file name must be the hash + each CA that Samba will trust. The file name must be the hash value over the "Distinguished Name" of the CA. How this directory is set up is explained later in this document. All files within the directory that don't fit into this naming scheme are ignored. You @@ -16199,8 +16584,8 @@ CLASS="COMMAND" > enabled by default in any current binary version of Samba.

    These two variables define whether samba will go - into SSL mode or not. If none of them is defined, samba will +>These two variables define whether Samba will go + into SSL mode or not. If none of them is defined, Samba will allow only SSL connections. If the ssl hosts resign variable lists hosts, only these - hosts will NOT be forced into SSL mode. The syntax for these two + hosts will NOT be forced into SSL mode. The syntax for these two variables is the same as for the the server does file lock checks only when the client explicitly asks for them.

    Well behaved clients always ask for lock checks when it +>Well-behaved clients always ask for lock checks when it is important, so in the vast majority of cases strict @@ -16616,7 +17003,11 @@ NAME="STRICTSYNC" CLASS="CONSTANT" >no (the - default) means that smbd ignores the Windows applications requests for + default) means that smbd ignores the Windows applications requests for a sync call. There is only a possibility of losing data if the operating system itself that Samba is running on crashes, so there is little danger in this default setting. In addition, this fixes many @@ -16664,10 +17055,16 @@ NAME="SYNCALWAYS" >

    This is a boolean parameter that controls whether writes will always be written to stable storage before - the write call returns. If this is false then the server will be + the write call returns. If this is false then the server will be guided by the client's request in each write call (clients can set a bit indicating that a particular write should be synchronous). - If this is true then every write will be followed by a true then every write will be followed by a fsync() template homedir (G)

    NOTE: this parameter is - only available in Samba 3.0.

    When filling out the user information for a Windows NT user, the template shell (G)

    NOTE: this parameter is - only available in Samba 3.0.

    When filling out the user information for a Windows NT user, the 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 smbd will return an + by a client which will exceed this number, then smbd will return an error indicating that no space is available on the server. The default value of 0 means that no such limit exists. This parameter can be used to prevent a server from exceeding its capacity and is @@ -16920,7 +17311,10 @@ NAME="UNIXPASSWORDSYNC" >This boolean parameter controls whether Samba attempts to synchronize the UNIX password with the SMB password when the encrypted SMB password in the smbpasswd file is changed. - If this is set to true the program specified in the true the program specified in the passwd @@ -16930,7 +17324,7 @@ CLASS="PARAMETER" >AS ROOT - to allow the new UNIX password to be set without access to the - old UNIX password (as the SMB password has change code has no + old UNIX password (as the SMB password change code has no access to the old password cleartext, only the new).

    See also

    use client driver (S)

    This parameter applies only to Windows NT/2000 + clients. It has no affect on Windows 95/98/ME clients. When + serving a printer to Windows NT/2000 clients without first installing + a valid printer driver on the Samba host, the client will be required + to install a local printer driver. From this point on, the client + will treat the print as a local printer and not a network printer + connection. This is much the same behavior that will occur + when disable spoolss = yes.

    The differentiating + factor is that under normal circumstances, the NT/2000 client will + attempt to open the network printer using MS-RPC. The problem is that + because the client considers the printer to be local, it will attempt + to issue the OpenPrinterEx() call requesting access rights associated + with the logged on user. If the user possesses local administator rights + but not root privilegde on the Samba host (often the case), the OpenPrinterEx() + call will fail. The result is that the client will now display an "Access + Denied; Unable to connect" message in the printer queue window (even though + jobs may successfully be printed).

    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 disable spoolss +

    Default: use client driver = no

    use rhosts (G)

    If this global parameter is a true, it specifies - that the UNIX users If this global parameter is true, it specifies + that the UNIX user's .rhosts file in their home directory @@ -17145,7 +17592,7 @@ CLASS="PARAMETER" > parameter.

    If any of the usernames begin with a '@' then the name - will be looked up first in the yp netgroups list (if Samba + will be looked up first in the NIS netgroups list (if Samba is compiled with netgroup support), followed by a lookup 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 - will be looked up only in the yp netgroups database (if Samba + 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.

    utmp (S)utmp (G)

    This boolean parameter is only available if Samba has been configured and compiled with the option --with-utmp. If set to True then Samba will attempt +>. If set to true then Samba will attempt to add utmp or utmpx records (depending on the UNIX system) whenever a connection is made to a Samba server. Sites may use this to record the user connecting to a Samba share.

    yes. - -

    .

    Setting this parameter will affect the performance of Samba, as it will be forced to check all files and directories for a match as they are scanned.

    - -

    See also .

    - -

    Default: No files or directories are vetoed.

    - -

    Examples:

    -

    This parameter allows parameters to be passed - to the vfs layer at initialisation time. The Samba VFS layer + to the vfs layer at initialization time. The Samba VFS layer is new to Samba 2.2 and must be enabled at compile time with --with-vfs. See also winbind cache time

    NOTE: this parameter is only - available in Samba 3.0.

    This parameter specifies the number of seconds the

    winbind gid
    winbind enum + users

    On large installations using + winbindd(8) it may be + necessary to suppress the enumeration of users through the + setpwent(), + getpwent() and + endpwent() group of system calls. If + the winbind enum users parameter is + false, calls to the getpwent system call + will not return any data.

    NOTE: this parameter is only - available in Samba 3.0.

    Warning: Turning off user + enumeration may cause some programs to behave oddly. For + example, the finger program relies on having access to the + full user list when searching for matching + usernames.

    Default: winbind enum users = yes

    winbind enum + groups

    On large installations using + winbindd(8) it may be + necessary to suppress the enumeration of groups through the + setgrent(), + getgrent() and + endgrent() group of system calls. If + the winbind enum groups parameter is + false, calls to the getgrent() system + call will not return any data.

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

    Default: winbind enum groups = no +

    winbind gid

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

    Default: winbind separator

    NOTE: this parameter is only - available in Samba 3.0.

    This parameter allows an admin to define the character used when listing a username of the form of winbind uid

    NOTE: this parameter is only - available in Samba 3.0.

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

    Default:

  • The second argument is the netbios name. If the +>The second argument is the NetBIOS name. If the name is not a legal name then the wins hook is not called. Legal names contain only letters, digits, hyphens, underscores and periods.

  • The third argument is the netbios name +>The third argument is the NetBIOS name type as a 2 digit hexadecimal number.

  • nmbd(8) process in Samba will act as a WINS server. You should - not set this to true unless you have a multi-subnetted network and + not set this to true unless you have a multi-subnetted network and you wish a particular nmbd to be your WINS server. Note that you should NEVER set this to true +> set this to true on more than one machine in your network.

    Default:

    This cache allows Samba to batch client writes into a more - efficient write size for RAID disks (ie. writes may be tuned to + efficient write size for RAID disks (i.e. writes may be tuned to be the RAID stripe size) and can improve performance on systems where the disk subsystem is a bottleneck but there is free memory for userspace programs.

    This parameter controls whether or not the server - will support raw writes SMB's when transferring data from clients. + will support raw write SMB's when transferring data from clients. You should never need to change this parameter.

    Default:

    WARNINGS

    VERSION

    SEE ALSO

    AUTHOR