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

Re: (ITS#4316) proxycache attrsets



> Full_Name: Howard Chu
> Version: 2.3
> OS:
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (24.126.120.178)
> 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.

I think this has been suggested many times (I'll dig in the archives) but
AFAIR there was some technical answer which I don't recall that prevented
it.


> 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.

Don't forget access control issues; I think by playing with attrsets they
can be limited, e.g. by only caching public searches or so.  In any case,
I'd leave the possibility to define attrsets.

p.



Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it
------------------------------------------