Hello all,
We have an OpenLDAP instance proxying an active directory with back_meta and
mr_passthru.
We also have pcache on top, and as it do not support
LDAP_MATCHING_RULE_IN_CHAIN, I looked about implementing it.
I found that we could retrieve cached results with pcacheQueryID, but I can't
get why this is not used in the current code?
I dit it this way (querying pcacheQueryID for previsouly cached results) and
tests are successful
I can now declare templates like this :
pcacheAttrset 0 *
pcacheTemplate (&(objectClass=)(member:1.2.840.113556.1.4.1941:=)) 0 900
Plesae see attached patch
Did I miss something about the use of pcacheQueryID ? or anything else ?
Do you think this could be added upstream?
P.S.: Is there a reason mr_passthru is not included to OpenLDAP ? not even in
contrib ?
Thanks for reading