https://bugs.openldap.org/show_bug.cgi?id=10200
Issue ID: 10200 Summary: Can pcacheTemplate support '!' operator Product: OpenLDAP Version: 2.5.16 Hardware: x86_64 OS: Linux Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: overlays Assignee: bugs@openldap.org Reporter: shaosong.li@salesforce.com Target Milestone: ---
Hi,
I am using Openldap V2.5.17 and pcache engine for cache. After multiple rounds of testing, I found the '!" is not supported in the pcacheTemplate, such as below, which is used for filter from ldap query (!(uidNumber=0)). pcacheTemplate (!(uidNumber=)) 0 6000 300 0 0
While checking the source code, i don't see the '!' operator supported, however, I do see '&' and '|' in the source code. https://git.openldap.org/openldap/openldap/-/blob/OPENLDAP_REL_ENG_2_5/serve...
Thanks,
https://bugs.openldap.org/show_bug.cgi?id=10200
shaosong.li@salesforce.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|2.5.16 |2.5.17
https://bugs.openldap.org/show_bug.cgi?id=10200
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Howard Chu hyc@openldap.org --- No. Read the Proxy Cache design paper. https://openldap.org/conf/odd-wien-2003/proceedings.html
https://bugs.openldap.org/show_bug.cgi?id=10200
--- Comment #2 from shaosong.li@salesforce.com --- (In reply to Howard Chu from comment #1)
No. Read the Proxy Cache design paper. https://openldap.org/conf/odd-wien-2003/proceedings.html
Hi Howard,
Thanks for the reply. Are you referring to this PDF from the link you provided, https://openldap.org/conf/odd-wien-2003/apurva.pdf
I have read through it, and also read this paper https://www.openldap.org/pub/kapurva/proxycaching.pdf by the same author. In the paper it contains such sentence
"The implemented algorithm supports answering of positive queries (no NOT operator) having equality, ordering or substring assertions. The query containment algorithm ensures that the correct syntaxes and matching rules are applied when comparing two assertion values."
Do we have any plan to support the ! operator in the future, since there are a lots of scenarios that ! operator appears in the filter.
Thanks.
https://bugs.openldap.org/show_bug.cgi?id=10200
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs_review | Status|RESOLVED |VERIFIED
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- The ITS system is for bug reports, not usage questions such as this. Please use openldap-technical@openldap.org for your usage questions. You can sign up at https://lists.openldap.org/