David Boreham wrote: > 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 that > returns all entries and count them ! > > The server however does not maintain a running count itself. So one > way or another you will > need 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. 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 - 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_cnconfig 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. > > > > -- > Fedora-directory-users mailing list > Fedora-directory-users at redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3258 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20090310/ebb01813/attachment.bin