Debian Codegraph @

DIRECTIVES

raw
1 * LDAPUserDir
2 The public subdirectory in users' home directories.
3
4 Example: LDAPUserDir public_html
5
6 * LDAPUserDirServer
7 The LDAP directory server to connect to.
8
9 Example: LDAPUserDirServer server.example.com
10
11 For failover, multiple servers can be specified.
12
13 Example: LDAPUserDirServer server1.example.com server2.example.com
14
15 * LDAPUserDirServerURL
16 The LDAP URL to use. The attributes and extensions fields of the URL are
17 ignored. The attributes portion of the URL is ignored; use
18 LDAPAttributeName to change the expected attribute names. Base DNs and
19 escapes (%u/%v) used in the URL must be URL encoded (e.g., replace '='
20 with '%3D', ',' with '%2C', '%' with '%25', etc).
21
22 Example: LDAPUserDirServerURL ldap://server.example.com/dc%3Dexample%2Cdc%3Dcom??sub?(uid=%25v)
23
24 For failover, multiple URLs can be specified.
25
26 Example: LDAPUserDirServerURL ldap://server.example.com/dc%3Dexample%2Cdc%3Dcom??sub?(uid=%25v) ldap://server2.example.com/dc%3Dexample%2Cdc%3Dcom??sub?(uid=%25v)
27
28 * LDAPUserDirDNInfo
29 The DN and password to use when binding to the LDAP server. If this
30 directive is omitted, anonymous binds are used.
31
32 Example: LDAPUserDirDNInfo cn=root,dc=example,dc=com dnpass
33
34 * LDAPUserDirBaseDN
35 The base DN to search on.
36
37 Example: LDAPUserDirBaseDN dc=example,dc=com
38
39 * LDAPUserDirFilter
40 The LDAP filter template to use for searches. Both %u and %v are replaced
41 with the username being resolved, but %v is deprecated and may be removed
42 in a future release.
43
44 Example: LDAPUserDirFilter "(&(uid=%u)(objectClass=posixAccount))"
45
46 * LDAPAttributeName
47 Change the LDAP attribute names used in order to reflect your local schema.
48 Currently, the "uid", "homeDirectory", "uidNumber", and "gidNumber"
49 attributes are used.
50
51 For example, if your LDAP schema uses the "homeLocation" attribute instead
52 of "homeDirectory":
53
54 Example: LDAPAttributeName homeDirectory homeLocation
55
56 Or if it uses "ispUsername" to store the account's username instead of
57 "uid":
58
59 Example: LDAPAttributeName uid ispUsername
60
61 * LDAPUserDirSearchScope
62 The LDAP search scope ("onelevel" or "subtree").
63
64 Example: LDAPUserDirSearchScope subtree
65
66 * LDAPProtocolVersion
67 The LDAP protocol version to use (2 or 3).
68
69 Example: LDAPProtocolVersion 3
70
71 * LDAPUserDirUseTLS
72 Whether to use an encrypted (TLS) connection to the LDAP server.
73
74 Example: LDAPUserDirUseTLS off
75
76 * LDAPUserDirCacheTimeout
77 How long, in seconds, to store cached LDAP entries. Caching is only
78 supported with Apache 2.0 and later.
79
80 Example: LDAPUserDirCacheTimeout 300