David Boreham 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 -Branimir wrote:so there is no way to find the number of total LDAP entries stored in FDC?Obviously that's a ridiculous statement. You could at the very least perform a search thatreturns all entries and count them !The server however does not maintain a running count itself. So one way or another you willneed to count the entries.Unless...you configure a VLV index covering the target entries (e.g. all entries). This will as a side-effect maintain the count, which can be retrieved with the appropriate VLV search.
http://www.redhat.com/docs/manuals/dir-server/cli/8.0/Configuration_Command_File_Reference-Core_Server_Configuration_Reference-Core_Server_Configuration_Attributes_Reference.html#Configuration_Command_File_Reference-Core_Server_Configuration_Attributes_Reference-cnmonitor and http://www.redhat.com/docs/manuals/dir-server/cli/8.0/Configuration_Command_File_Reference-Plug_in_Implemented_Server_Functionality_Reference-Database_Plug_in_Attributes.html#Configuration_Command_File_Reference-Database_Plug_in_Attributes-Database_Attributes_under_cndatabase_cnmonitor_cnldbm_database_cnplugins_cnconfig and http://www.redhat.com/docs/manuals/dir-server/cli/8.0/Configuration_Command_File_Reference-Plug_in_Implemented_Server_Functionality_Reference-Database_Plug_in_Attributes.html#Configuration_Command_File_Reference-Database_Plug_in_Attributes-Database_Attributes_under_cnmonitor_cnNetscapeRoot_cnldbm_database_cnplugins_cnconfigThe 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.
-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users
<<attachment: smime.p7s>>
-- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users