Bug 49199 - Implement LDAP scope-aware caching in mod_ldap
Summary: Implement LDAP scope-aware caching in mod_ldap
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_ldap (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: RFC
Depends on:
Blocks:
 
Reported: 2010-04-27 13:16 UTC by Peter Thomas
Modified: 2010-04-27 13:16 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Thomas 2010-04-27 13:16:21 UTC
+++ This bug was initially created as a clone of Bug #49193 +++

The current LDAP cache implemented for httpd's mod_ldap only does exact matches based on LDAP URL and filter expression.  An intelligent caching mechanism would respect basedn and scope of a given LDAP search.  Essentially we need the caching to implement the behavior of an RFC-compliant "mini-LDAP server."

Please enhance mod_ldap's cache implementation to the extent necessary to support "scope-aware" caching, specifically:

1) the current implementation works for exact matches of both search expression and basedn, this is equivalent to "basedn scoped" searches.
2) onelevel cache searches would include case 1 and also any cache entries with no more than one additional DN entry.
3) subtree-scoped cache searches; would include both case 1, case 2, and any deeper matches.

Based on Mr. Covener's comment on #49193, I've created this independent enhancement request directly against httpd, without noting dependency on #49193.