43.6.3. auth-ldap

43.6.3.1. Omezení přístupu ke stránkám

Seznam direktiv

Ukázková konfigurace

# Enable the LDAP connection pool and shared
# memory cache.  Enable the LDAP cache status
# handler.  Requires that mod_ldap and mod_auth_ldap
# be loaded.

LDAPSharedCacheSize 200000
LDAPCacheEntries 1024
LDAPCacheTTL 600
LDAPOpCacheEntries 1024
LDAPOpCacheTTL 600

<Location /ldap-status>
    SetHandler ldap-status
    Order deny,allow
    Allow from yourdomain.example.com
    AuthLDAPEnabled on
    AuthLDAPURL ldap://127.0.0.1/dc=example,dc=com?uid?one
    AuthLDAPAuthoritative on
    require valid-user
</Location>