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

RE: Thinking about operational attribute numSubordinates...

It's an interesting idea. There was a patch for this in the 1.x source, a
long time ago, but it broke (neglect and victim of progress) and was never
fixed up. I think there was also some ambiguity about whether it should
report just the immediate children, or the entire subtree count.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support

> -----Original Message-----
> From: owner-openldap-devel@OpenLDAP.org
> [mailto:owner-openldap-devel@OpenLDAP.org]On Behalf Of Michael Ströder
> Sent: Friday, December 21, 2001 4:02 AM
> To: OpenLDAP Developer List
> Subject: Thinking about operational attribute numSubordinates...
> HI!
> In some cases it would be very handy if an application could
> determine whether a LDAP entry is a leaf-node or not (e.g. when
> displaying a search tree or doing recursive deletes). Most times
> this is done by the application with issuing another one-level
> search which unfortunately causes extra load on the server.
> The Netscape/iPlanet Directory server is maintaining an operational
> attribute numSubordinates which holds an integer with the number of
> entries in the sub-tree. It would be very handy if OpenLDAP would
> also implement such an attribute.
> Comments?
> Ciao, Michael.