Bug 136687 - ldap_auth cache not working
ldap_auth cache not working
Product: Fedora
Classification: Fedora
Component: httpd (Show other bugs)
x86_64 Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
Depends On:
  Show dependency treegraph
Reported: 2004-10-21 13:50 EDT by Ed Swierk
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 2.0.52-3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-11-11 10:26:25 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ed Swierk 2004-10-21 13:50:37 EDT
Description of problem:

On FC2 x86_64, the httpd ldap_auth cache is not getting initialized.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create /etc/httpd/conf.d/ldap.conf:

  <Location /ldap-status>
      SetHandler ldap-status

  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

Expected results:

The LDAP cache should be enabled.
Comment 1 Ed Swierk 2004-10-21 14:34:43 EDT
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.
Comment 2 Joe Orton 2004-10-21 15:05:45 EDT
Thanks for the report.  Was it working with the same configuration
before you updated to 2.0.51?
Comment 3 Ed Swierk 2004-10-21 16:42:08 EDT
No, LDAP authentication caching is also broken in httpd-2.0.49-4.
Comment 4 Joe Orton 2004-11-11 10:26:25 EST
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.

Note You need to log in before you can comment on or make changes to this bug.