repararLdap.sh

#!/bin/bash

/etc/init.d/ldap stop

/usr/sbin/slapd_db_recover -h /var/lib/ldap -v -c

/etc/init.d/ldap restart