[Fedora-directory-users] Re: Total number of LDAP entries

David Boreham david_list at boreham.org
Tue Mar 10 15:11:44 UTC 2009


Rich Megginson wrote:
> You might also be able to extract that information from the 
> information in cn=monitor or one of the cn=monitor entries under the 
> database entries -
Unless something has changed recently, there's no entry count 
information maintained or readable via cn=monitor.
> The directory server also uses the operational attribute 
> numSubordinates in a container node to specify the number of entries 
> that are direct children of that container node - so I suppose you 
> could also search for all of these and count them up.
This would work but if the tree has many branches it'd be more efficient 
to use VLV. For a single big container it'd be fine though.







More information about the Fedora-directory-users mailing list