[Date Prev][Date Next]
Re: (ITS#6598) EXOP to return number of children of a (sub)tree
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#6598) EXOP to return number of children of a (sub)tree
- From: firstname.lastname@example.org
- Date: Wed, 21 Jul 2010 19:18:38 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
> Full_Name: Quanah Gibson-Mount
> Version: NA
> OS: NA
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (18.104.22.168)
> It would be extremely useful to have an extended operation that allows querying
> the number of children of a given (sub)tree, so that one can avoid iterating
> through the entire subtree to determine this number.
Might as well ask for the numSubordinates operational attribute to be
implemented instead, this doesn't seem to merit a new exop. And for
numSubordinates, see the -devel archives for why we chose not to implement it.
In either case, the server still needs to iterate over all entries internally,
and the result has to take ACLs and entry disclosure into account.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/