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

(ITS#4316) proxycache attrsets

Full_Name: Howard Chu
Version: 2.3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (
Submitted by: hyc

The Admin Guide example http://www.openldap.org/doc/admin23/proxycache.html
indicates that an attrset will be used if it is a superset of the attributes
present in a particular search query. However, the get_attr_set/attrscmp
functions will only match a set if it is exactly equal to the attrs in the
query. The documented behavior would certainly be more useful.

It would make even more sense to always use all the attrs in the attrset on the
remote query, so that they'll all be in the cache, regardless of what subsets of
the attrset are used in a specific query.