From 9c2520e6cdf8951f6f6645af91915fac67b49d19 Mon Sep 17 00:00:00 2001 From: Matthew Chapman Date: Sun, 11 Apr 1999 10:23:19 +0000 Subject: Trying to improve DC location & browsing performance for the average user who doesn't know what an LMB or DMB is. * check_master_browser_exists now performs the check the first time around, so if there is indeed no master browser then Samba takes up the job much faster. * Upped default OS level to 32. There is no reason why some stupid little Windows box should become LMB instead of a Samba *server*. * "domain master" now defaults to "auto". Currently this attempts to become DMB iff Samba is the PDC (ala Windows NT). "preferred master" also defaults to "auto", which enables preferred master iff Samba is DMB. * lp_server_role now just returns the predetermined role, rather than working it out each time, since the server role is becoming very heavily used (esp for the BDC code). (This used to be commit 4a23a358b5ad8873acb7db11f27b87d2a016bec1) --- docs/htmldocs/smb.conf.5.html | 116 ++++++++++++++++++++---------------------- 1 file changed, 55 insertions(+), 61 deletions(-) (limited to 'docs/htmldocs') diff --git a/docs/htmldocs/smb.conf.5.html b/docs/htmldocs/smb.conf.5.html index 35d7f5afb3..433c7ce5bb 100644 --- a/docs/htmldocs/smb.conf.5.html +++ b/docs/htmldocs/smb.conf.5.html @@ -435,10 +435,9 @@ parameter for details. Note that some are synonyms.


  • interfaces


  • keepalive


  • kernel oplocks -


  • ldap filter +


  • ldap bind as +


  • ldap passwd file


  • ldap port -


  • ldap root -


  • ldap root passwd


  • ldap server


  • ldap suffix


  • lm announce @@ -1281,8 +1280,8 @@ The line can be either of the form: or it is a member of a domain using "security = domain", the latter format can be used: the default Domain name is the Samba Server's Domain name, specified by "workgroup = MYGROUP". -


    Any UNIX groups that are NOT specified in this map file are assumed -to be Domain Groups, but it depends on the role of the Samba Server. +


    Any UNIX groups that are NOT specified in this map file are assumed to +be either Local or Domain Groups, depending on the role of the Samba Server.


    In the case when Samba is an EXPERIMENTAL Domain Controller, Samba will present ALL such unspecified UNIX groups as its own NT Domain Groups, with the same name. @@ -1374,7 +1373,11 @@ if this parameter is set and nmbd cla special name for a workgroup before a Windows NT PDC is able to do so then cross subnet browsing will behave strangely and may fail. +


    By default ("auto") Samba will attempt to become the domain master +browser only if it is the Primary Domain Controller.


    Default: + domain master = auto +


    Example: domain master = no


  • domain user map (G) @@ -1411,7 +1414,7 @@ Samba Server.


    In the case when Samba is an EXPERIMENTAL Domain Controller, Samba will present ALL such unspecified UNIX users as its own NT Domain Users, with the same name. -


    In the case where Samba is member of a domain using +


    In the case where Samba is a member of a domain using "security = domain", Samba will check the UNIX name with its Domain Controller (see "password server") as if it was an NT Domain User. If the Domain Controller says that it is not, @@ -1847,55 +1850,42 @@ data consistency between SMB/CIFS, NFS and local file access (and is a


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


    -

  • ldap filter (G) +


    +

  • ldap bind as (G)


    This parameter is part of the EXPERIMENTAL Samba support for a -password database stored on an LDAP server back-end. These options -are only available if your version of Samba was configured with -the --with-ldap option. -


    This parameter specifies an LDAP search filter used to search for a -user name in the LDAP database. It must contain the string -%u which will be replaced with the user being -searched for. +password database stored on an LDAP server. These options are only +available if your version of Samba was configured with the --with-ldap +option. +


    This parameter specifies the entity to bind to an LDAP directory as. +Usually it should be safe to use the LDAP root account; for larger +installations it may be preferable to restrict Samba's access. See also +ldap passwd file. +


    Default: + none (bind anonymously) +


    Example: + ldap bind as = "uid=root, dc=mydomain, dc=org" +


    +

  • ldap passwd file (G) +


    This parameter is part of the EXPERIMENTAL Samba support for a +password database stored on an LDAP server. These options are only +available if your version of Samba was configured with the --with-ldap +option. +


    This parameter specifies a file containing the password with which +Samba should bind to an LDAP server. For obvious security reasons +this file must be set to mode 700 or less.


    Default: - empty string. + none (bind anonymously) +


    Example: + ldap passwd file = /usr/local/samba/private/ldappasswd


  • ldap port (G)


    This parameter is part of the EXPERIMENTAL Samba support for a -password database stored on an LDAP server back-end. These options -are only available if your version of Samba was configured with -the --with-ldap option. -


    This parameter specifies the TCP port number to use to contact -the LDAP server on. +password database stored on an LDAP server. These options are only +available if your version of Samba was configured with the --with-ldap +option. +


    This parameter specifies the TCP port number of the LDAP server.


    Default: ldap port = 389. -


    -

  • ldap root (G) -


    This parameter is part of the EXPERIMENTAL Samba support for a -password database stored on an LDAP server back-end. These options -are only available if your version of Samba was configured with -the --with-ldap option. -


    This parameter specifies the entity to bind to the LDAP server -as (essentially the LDAP username) in order to be able to perform -queries and modifications on the LDAP database. -


    See also ldap root passwd. -


    Default: - empty string (no user defined) -


    -

  • ldap root passwd (G) -


    This parameter is part of the EXPERIMENTAL Samba support for a -password database stored on an LDAP server back-end. These options -are only available if your version of Samba was configured with -the --with-ldap option. -


    This parameter specifies the password for the entity to bind to the -LDAP server as (the password for this LDAP username) in order to be -able to perform queries and modifications on the LDAP database. -


    BUGS: This parameter should NOT be a readable parameter -in the smb.conf file and will be removed once a correct -storage place is found. -


    See also ldap root. -


    Default: - empty string.


  • ldap server (G)


    This parameter is part of the EXPERIMENTAL Samba support for a @@ -1903,7 +1893,8 @@ password database stored on an LDAP server back-end. These options are only available if your version of Samba was configured with the --with-ldap option.


    This parameter specifies the DNS name of the LDAP server to use -for SMB/CIFS authentication purposes. +when storing and retrieving information about Samba users and +groups.


    Default: ldap server = localhost


    @@ -1912,11 +1903,13 @@ for SMB/CIFS authentication purposes. password database stored on an LDAP server back-end. These options are only available if your version of Samba was configured with the --with-ldap option. -


    This parameter specifies the "dn" or LDAP "distinguished name" -that tells smbd to start from when searching -for an entry in the LDAP password database. +


    This parameter specifies the node of the LDAP tree beneath which +Samba should store its information. This parameter MUST be provided +when using LDAP with Samba.


    Default: - empty string. + none +


    Example: + ldap suffix = "dc=mydomain, dc=org"


  • lm announce (G)


    This parameter determines if nmbd will produce @@ -1984,7 +1977,7 @@ or it is a member of a domain using " the latter format can be used: the default Domain name is the Samba Server's Domain name, specified by "workgroup = MYGROUP".


    Any UNIX groups that are NOT specified in this map file are treated -as Local Groups depending on the role of the Samba Server. +as either Local or Domain Groups depending on the role of the Samba Server.


    In the case when Samba is an EXPERIMENTAL Domain Controller, Samba will present ALL unspecified UNIX groups as its own NT Domain Groups, with the same name, and NOT as Local Groups. @@ -2805,11 +2798,11 @@ for details. browse elections. The value of this parameter determines whether nmbd has a chance of becoming a local master browser for the WORKGROUP in the local broadcast -area. The default is zero, which means nmbd will -lose elections to Windows machines. See BROWSING.txt in the Samba -docs/ directory for details. +area. Setting this to zero will cause nmbd to +always lose elections to Windows machines. See BROWSING.txt in the +Samba docs/ directory for details.


    Default: - os level = 0 + os level = 32


    Example: os level = 65 ; This will win against any NT Server


    @@ -3069,7 +3062,8 @@ force an election, and it will have a slight advantage in winning the election. It is recommended that this parameter is used in conjunction with "domain master = yes", so that nmbd can guarantee becoming a domain -master. +master. Indeed the default ("auto") enables "preferred master" if +Samba is configured as the domain master browser.


    Use this option with caution, because if there are several hosts (whether Samba servers, Windows 95 or NT) that are preferred master browsers on the same subnet, they will each periodically and @@ -3078,7 +3072,7 @@ result in unnecessary broadcast traffic and reduced browsing capabilities.


    See also os level.


    Default: - preferred master = no + preferred master = auto


    Example: preferred master = yes


    @@ -3273,7 +3267,7 @@ command"
    . "printing=SYSV","printing="HPUX","printing=QNX" and "printing=SOFTQ".


    To see what the defaults are for the other print commands when using -these three options use the "testparm" program. +these three options use the "testparm" program.


    This option can be set on a per printer basis


    See also the discussion in the [printers] section.


    -- cgit