[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8608) Inversion in filter pcacheTemplate cannot be parsed



Full_Name: Tabolin Yuriy
Version: 2.4.43
OS: FreeBSD 10.1-RELEASE
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (149.126.18.58)


I use openldap 2.4.43 with pcache overlay. Inversion assertions in
pcacheTemplate filter cannot be parsed and slapd cannot start.

For example this works fine:
overlay pcache
pcache mdb 100000 1 1000 60
pcacheAttrset 0 *
pcacheTemplate (objectClass=) 0 3600 3600

But this not:
overlay pcache
pcache mdb 100000 1 1000 60
pcacheAttrset 0 *
pcacheTemplate (!(objectClass=)) 0 3600 3600

There is written in man slapo-pcache "A template is defined by a filter string
and an index identifying a set of attributes. The template string for  a  query 
can  be  obtained  by removing  assertion  values  from  the  RFC  4515
representation of its search filter." RFC4515 have defined exclamation mark
("!") as inversion in filter.