[Fedora-directory-users] Re: Total number of LDAP entries
Michael Ströder
michael at stroeder.com
Tue Mar 10 18:24:49 UTC 2009
Ryan Braun [ADS] wrote:
> Here's an easy perl script you can run, it will do a sub search on a given suffex and output the total entries returned.
On FDS I'd prefer to search for (hasSubordinates=TRUE) and sum up the
values of the numSubordinates attribute in the entries found.
Other LDAP server implementations have other operational attributes with
different semantics:
Siemens DirX: numAllSubordinates
Critical Path Directory Server: countImmSubordinates, countTotSubordinates
MS Active Directory: msDS-Approx-Immed-Subordinates
My web2ldap uses all these besides 'hasSubordinates' to determine
whether an entry found is leaf entry or not and display the number of
subordinate entries in the link popup help.
Ciao, Michael.
More information about the Fedora-directory-users
mailing list