[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Filtering for hasSubordinates
- To: openldap-devel@OpenLDAP.org
- Subject: Filtering for hasSubordinates
- From: Pierangelo Masarati <ando@sys-net.it>
- Date: Sat, 02 Nov 2002 15:41:15 +0100
- Organization: SysNet
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020618
I recently fixed the flaw in the hasSubordinate
filtering for bdb and ldbm (due to temporarily
modifying a read-only locked entry); the fix
operates inside test_filter() and uses a call-back
for be_has_subordinates() where defined.
Moreover, this solution incurs in the minimum
possible overhead if the filter does not use
hasSubordinates (the special action is undertaken
after the attribute has not been found by usual
attribute lookup).
At this point, if there's enough consensus I'd
remove the conditional compilation (the
#define SLAP_X_FILTER_HASSUBORDINATES)
Ando.
--
Dr. Pierangelo Masarati mailto:pierangelo.masarati@sys-net.it
LDAP Architect, SysNet s.n.c. http://www.sys-net.it
-----------------------------------------------------------------------------
The receiver of this message is required to check if he/she has received it
erroneously. If so, the receiver is requested to immediately inform the
sender and - in consideration of the responsibilities arising from undue use
and/or disclosure of the message and/or the information contained therein -
destroy the original message and any copy or printout thereof.
-----------------------------------------------------------------------------