From 09fb00c629ed81b25c97a5eb74df4e03c92145ea Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 5 Nov 2002 21:41:04 +0000 Subject: 'make everything' in docs (This used to be commit 960082d860c36419c63094be778decdadb061c1d) --- docs/htmldocs/smb.conf.5.html | 345 +++++++++++++++++++++++++++++------------- 1 file changed, 236 insertions(+), 109 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 14820cb623..d409469e7c 100644 --- a/docs/htmldocs/smb.conf.5.html +++ b/docs/htmldocs/smb.conf.5.html @@ -531,31 +531,6 @@ NAME="AEN112" CLASS="VARIABLELIST" >
%S

the name of the current service, if any.

%P

the root directory of the current service, - if any.

%u

user name of the current service, if any.

%g

primary group name of %u.

%U

primary group name of %U.

%H

the home directory of the user given - by %u.

%v

the Samba version.

%h

%N

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.

%p

the path of the service's home directory, - obtained from your NIS auto.map entry. The NIS auto.map entry - is split up as "%N:%p".

%R

the current date and time.

%D

Name of the domain or workgroup of the current user.

%$(

The following substitutes apply only to some configuration options(only those + that are used when a connection has been established):

%S

the name of the current service, if any.

%P

the root directory of the current service, + if any.

%u

user name of the current service, if any.

%g

primary group name of %u.

%H

the home directory of the user given + by %u.

%N

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.

%p

the path of the service's home directory, + obtained from your NIS auto.map entry. The NIS auto.map entry + is split up as "%N:%p".

There are some quite creative things that can be done with these substitutions and other smb.conf options.

NAME MANGLING

By default, Samba 2.2 has the same semantics as a Windows +>By default, Samba 3.0 has the same semantics as a Windows NT server, in that it is case insensitive but case preserving.

NOTE ABOUT USERNAME/PASSWORD VALIDATION

COMPLETE LIST OF GLOBAL PARAMETERS

  • ldap trust ids

  • COMPLETE LIST OF SERVICE PARAMETERS

    EXPLANATION OF EACH PARAMETER

    This specifies the major and minor version numbers that nmbd will use when announcing itself as a server. The default - is 4.2. Do not change this parameter unless you have a specific + is 4.9. Do not change this parameter unless you have a specific need to set a Samba server to be a downlevel server.

    Default: announce version = 4.5announce version = 4.9

    Example:

    If this parameter is set and the lock range requested - cannot be immediately satisfied, Samba 2.2 will internally + cannot be immediately satisfied, samba will internally queue the lock request, and periodically attempt to obtain the lock until the timeout period expires.

    no, then - Samba 2.2 will behave as previous versions of Samba would and + samba will behave as previous versions of Samba would and will fail the lock request immediately if the lock range cannot be obtained.

    See the discussion in the section NAME MANGLING.

    debug timestamp (G)

    Samba 2.2 debug log messages are timestamped +>Samba debug log messages are timestamped by default. If you are running at a high

    See the section on NAME MANGLING. Also note the lp(1).

    This paramater does not accept % macros, because +>This parameter does not accept % macros, because many parts of the system require this value to be constant for correct operation.

    On = Always use SSL when contacting the - ldap serverOff.

    = Never use SSL when querying the directory.

  • OffStart_tls = Never use SSL when querying the directory.

    = Use the LDAPv3 StartTLS extended operation + (RFC2830) for communicating with the directory server.

  • Start_tlsOn = Use the LDAPv3 StartTLS extended operation - (RFC2830) for communicating with the directory server.

    = + Use SSL on the ldaps port when contacting the + ldap server. Only + available when the backwards-compatiblity --with-ldapsam option is specified + to configure. See passdb backend

  • Default : ldap ssl = onldap ssl = start_tls

    ldap suffix (G)

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

    Default :

    ldap trust ids (G)

    Normally, Samba validates each entry + in the LDAP server against getpwnam(). This allows + LDAP to be used for Samba with the unix system using + NIS (for example) and also ensures that Samba does not + present accounts that do not otherwise exist.

    This option is used to disable this functionality, and + instead to rely on the presence of the appropriate + attributes in LDAP directly, which can result in a + significant performance boost in some situations. + Setting this option to yes effectivly assumes + that the local machine is running nss_ldap against the + same LDAP server.

    Default: ldap trust ids = No

    level2 oplocks (S)

    See the section on NAME MANGLING

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

    Default: mangling method = hash2

    Example: mangling method = hash

    mangle prefix (G)

    controls the number of prefix + characters from the original name used when generating + the mangled names. A larger value will give a weaker + hash and therefore more name collisions. The minimum + value is 1 and the maximum value is 6.

    Default: mangle prefix = 1

    Example: mangling method = hash2mangle prefix = 4

    magic character in name mangling. The default is a '~' but this may interfere with some software. Use this option to set @@ -13677,15 +13772,41 @@ CLASS="COMMAND" >ldap://localhost)

    Note: In this module, any account + without a matching POSIX account is regarded + as 'non unix'. +

    See also non unix account rangenon unix account + range

    LDAP connections should be secured where + possible. This may be done using either + Start-TLS (see ldap ssl) or by + specifying ldaps:// in + the URL argument. +

  • See the section on NAME MANGLING for a fuller discussion.

    See also the section NOTE ABOUT USERNAME/PASSWORD VALIDATION.

    parameter for details on doing this.

    See also the section NOTE ABOUT USERNAME/PASSWORD VALIDATION.

    parameter for details on doing this.

    See also the section NOTE ABOUT USERNAME/PASSWORD VALIDATION.

    See also the section NOTE ABOUT USERNAME/PASSWORD VALIDATION.

    See the section on NAME MANGLING.

    Specifies whether Samba should try - to use unicode on the wire by default. + to use unicode on the wire by default. Note: This does NOT + mean that samba will assume that the unix machine uses unicode!

    Default: unix charset = ASCII

    Example: unix charset = UTF8

    See the section NOTE ABOUT USERNAME/PASSWORD VALIDATION for more information on how @@ -19763,7 +19890,7 @@ CLASS="PARAMETER" >

    WARNINGS

    VERSION

    This man page is correct for version 2.2 of +>This man page is correct for version 3.0 of the Samba suite.

    SEE ALSO

    AUTHOR