How do I recover a corrupted openldap database?
Updated -
To recover from a corrupted openldap database, run the following command:
slapd_db_recover -v -h /var/lib/ldap
This will restore the database. Please ensure that there are good backups made of the system often. It is better to restore rom backup than any other option.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.