Red Hat Bugzilla – Bug 136687
ldap_auth cache not working
Last modified: 2007-11-30 17:10:52 EST
Description of problem:
On FC2 x86_64, the httpd ldap_auth cache is not getting initialized.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create /etc/httpd/conf.d/ldap.conf:
2. Restart httpd
3. Navigate to http://localhost/ldap-status/
LDAP Cache Information table says "Cache has not been
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.