Description of problem: On FC2 x86_64, the httpd ldap_auth cache is not getting initialized. Version-Release number of selected component (if applicable): httpd-2.0.51-2.7 How reproducible: Always Steps to Reproduce: 1. Create /etc/httpd/conf.d/ldap.conf: <Location /ldap-status> SetHandler ldap-status </Location> LDAPCacheEntries 1024 LDAPOpCacheEntries 1024 2. Restart httpd 3. Navigate to http://localhost/ldap-status/ Actual results: LDAP Cache Information table says "Cache has not been enabled/initialised." Expected results: The LDAP cache should be enabled.
I've found a workaround. When I rebuild the httpd-2.0.51-2.7 from source, with httpd-2.0.47-ldapshm.patch and httpd-2.0.51-ldap50to51.patch commented out, the LDAP cache works fine. This is an important fix for people using Apache as a Subversion server. Subversion touches many files during certain operations, such as svn log. A 5-second log operation can take more than 15 minutes when the LDAP cache is disabled.
Thanks for the report. Was it working with the same configuration before you updated to 2.0.51?
No, LDAP authentication caching is also broken in httpd-2.0.49-4.
The LDAP modules are in-line with upstream as of the Fedora Core 3 httpd-2.0.52-3 package, so this should be working as of current releases. The changes to improve the caching code made since FC2's original 2.0.49 cause backwards-compatibility issues so won't be included.