httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From west alto <>
Subject [users@httpd] mod_ldap not caching
Date Wed, 07 Jul 2010 12:56:52 GMT
Hi Gurus,

I have a subversion server that authenticates with windows ad and i
want to cache my authentication for better performance.

here's my setting:

LoadModule authnz_ldap_module
LoadModule ldap_module                    /usr/lib/apache2-prefork/

LDAPTrustedMode SSL
LDAPVerifyServerCert off
LDAPSharedCacheSize 500000
LDAPCacheEntries 1024
LDAPCacheTTL 43200
LDAPOpCacheEntries 1024
LDAPOpCacheTTL 43200
LDAPSharedCacheFile /srv/home/svn/ldap_cache
LDAPConnectionTimeout 10

<Location /ldap-status>
        SetHandler ldap-status
        Order allow,deny
        Allow from all

    LDAPTrustedClientCert CERT_BASE64 /etc/apache2/ssl.crt/ad1.cer
    LDAPTrustedClientCert CERT_BASE64 /etc/apache2/ssl.crt/ad2.cer

    <Location /unix-repo>
        DAV svn
        SVNPath /srv/svn/unix-repo

        AuthName "Please use your ACTIVE DIRECTORY for Authentication"
        AuthType Basic
        AuthBasicProvider ldap
        AuthzLDAPAuthoritative off
        Include /etc/apache2/.ldapbinddn
        AuthLDAPURL "ldaps://,DC=local?sAMAccountName?sub?(objectClass=user)"

        AuthzSVNAccessFile /srv/config/svn_acl/unix-repo
        Require valid-user
        SVNPathAuthz off

Browsing https://localhost/ldap-status show an empty LDAP Cache Information

Can anyone help me, what's missing?



The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message