Hi,

my server restarted because of power failure and corrupted the database. Now the command:

slapcat | grep "uid=" | wc -l

displays 918 users

and the command

ldapsearch -LLL -x -h localhost -b "dc=prodemge,dc=gov,dc=br" uid | grep "uid=" | wc -l

displays the correct number of 1520 users.

I've tested the command:
usr/sbin/slapd_db_recover -h /var/lib/ldap -c

but not solved the problem.
What can I do to try to fix it?

Thanks,
Adonai S. Canez