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

Re: using slapo-pcache with an empty attr list



Toby Blake wrote:
Hi all,

Apologies for digging up the past, but I asked about this in July last
year....

See ITS#5074, this was added to RE24 a couple weeks after the below post.

Date: Fri, 27 Jul 2007 13:42:41 +0200
From: Ralf Haferkamp<rhafer@suse.de>
To: openldap-software@openldap.org
Subject: Re: using slapo-pcache with an empty attr list

<snip>

However, there's one bit that I can't get working - is there any way
to define a template that will match a search which doesn't provide an
attr list?
No. That is not possible.

<snip>

Are there any plans on introducing such a feature, or technical
reasons why it can't be done?  On a typical machine on which I'm
running slapo-pcache, I get about 70-80% of queries answered from the
cache - this would be 90%+ if queries that didn't specify attr lists
(i.e. gets all user attributes) could also be cached.

I'm not saying that I should be able to specify an emptry attr list
with proxyattrset - that probably wouldn't make a lot of sense, but
being able to set it to all the user attributes returned for a
particular query that doesn't specify which attrs it wants would be
very useful.

Cheers
Toby Blake
University of Edinburgh



--
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/