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

(ITS#6823) unknown attrs in pcache attrsets may be useful



Full_Name: Pierangelo Masarati
Version: HEAD/re24
OS: irrelevant
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (2.40.14.92)
Submitted by: ando


Currently attributes in pcache attrsets must be defined.  As far as I recall
this was introduced to catch misconfigurations (e.g. a typo would have silently
resulted in erroneous caching).  However, one may wish to cache attrs whose
schema is not known.  I've modified pcache to allow undef:attrname in attrsets,
so the administrator needs to know what he's doing.  The "undef:" is stripped
during parsing, but slapd will not complain and the administrator.

p.