KALPANA ANANTH wrote:
Is there any specific command to count the number of registered entries/users in ldapserver todate?
There is no server-side count operation within LDAP. Actually you would have to search for the users, retrieve parts of the entries (only the DNs) and count them at the client side. Obviously this won't scale for many users.
Having an operational attribute like numSubordinates could help depending on your DIT layout (one container with all users being immediate subordinate entries). But my request to implement this in OpenLDAP's slapd was declined:
http://www.openldap.org/its/index.cgi/Archive.Incoming?id=4161
Ciao, Michael.