
Configuration File Options
|
23
ldap filter = string
Allowable values: LDAP search filter
[global]
Default:
(&(uid=%u)
(objectclass=sambaAccount))
Sets the LDAP search filter. Requires that Samba be configured
with the
--with-ldapsam configuration option. Experimental
option added in Samba 2.2.3 and obsolete in Samba 3.0.
ldap port = number
Allowable values: positive integer
[global]
Default: In Samba 2.2,
636
if
ldap ssl = on
;
otherwise
389
Sets the TCP port number for contacting the LDAP server.
Requires that Samba be configured with the
--with-ldapsam
configuration option. Experimental option added in Samba 2.2.3
and obsolete starting with Samba 3.0. See also
ldap ssl.
ldap server = value
Allowable values: fully qualified domain name
[global]
Default:
localhost
Sets the domain name of the LDAP server. Requires that Samba be
configured with the
--with-ldapsam configuration option. Experi-
mental option added in Samba 2.2.3 and obsolete starting with
Samba 3.0.
ldap ssl = value
Allowable values:
ON
,
OFF
,
START_TLS
[global]
Default:
ON
Sets whether Samba uses SSL to contact the LDAP server. ON and
OFF turn SSL encryption on or off. The START_TLS setting causes
Samba to use LDAPv3 StartTLS extended operation. Requires that
Samba be configured with the
--with-ldapsam configuration
option. Experimental option added in Samba 2.2.3 and obsolete
in Samba 3.0.
ldap suffix = string
Allowable values: Distinguished Name
[global]
Default: