Johan wrote:
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?
It is of course used in the current code, for refreshing and expiring queries.
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 ?
Since no one has contributed it upstream, I have no idea what you're talking about. Ask whoever wrote whatever it is.
Thanks for reading