We are deleting all the entries from the Test ldap server and migrating the production data into the test server. I believe slapcat and slapadd would come handy for the migration part. But what I am concerned now is removing the entries from the Test server. How do I delete them ? I need to empty the server but then I want to keep the current configuration and schemas. My openldap on the server is built from the source and the DB files are located on /usr/local/var/openldap-data.
Any ideas would be appreciated . Thank you.