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: [email protected]
          Reporter: [email protected]
  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/servers/slapd/overlays/pcache.c#L531

Thanks,

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to