You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2010/04/27 14:12:03 UTC

DO NOT REPLY [Bug 49193] New: Implement LDAP scope-aware caching in APR-Util

https://issues.apache.org/bugzilla/show_bug.cgi?id=49193

           Summary: Implement LDAP scope-aware caching in APR-Util
           Product: APR
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: RFC
          Severity: enhancement
          Priority: P2
         Component: APR-util
        AssignedTo: bugs@apr.apache.org
        ReportedBy: pthomas@hpti.com


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 APR-Util's LDAP 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.

I will write a companion bug against httpd's mod_ldap and update this as a
blocker.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 49193] Implement LDAP scope-aware caching in APR-Util

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49193

--- Comment #1 from Eric Covener <co...@gmail.com> 2010-04-27 08:15:02 EDT ---
It's unlikely that an LDAP cache would be moved into APR and enhanced. There
are currently discussion to even move the portability aspects of LDAP into
httpd.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 49193] Implement LDAP scope-aware caching in APR-Util

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49193

--- Comment #2 from Peter Thomas <pt...@hpti.com> 2010-04-27 13:12:52 EDT ---
Makes sense...rather than build a "dependency tree," I'll clone this into
httpd, proper.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


DO NOT REPLY [Bug 49193] Implement LDAP scope-aware caching in APR-Util

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49193

--- Comment #3 from Peter Thomas <pt...@hpti.com> 2010-07-15 20:25:38 EDT ---
(In reply to comment #1)
> It's unlikely that an LDAP cache would be moved into APR and enhanced. There
> are currently discussion to even move the portability aspects of LDAP into
> httpd.

FYI, the httpd copy of this bug is at
https://issues.apache.org/bugzilla/show_bug.cgi?id=49199 .  Have the
discussions about moving LDAP portability into httpd reached a conclusion?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org