Emergency LDAP Rescue Procedure

From Nuclear Physics Group Documentation Pages
Revision as of 20:01, 5 June 2009 by Maurik (talk | contribs)
Jump to navigationJump to search

First, turn off LDAP:

service ldap stop

This dumps the LDAP database:

slapcat -l dump.ldif

Dumps database into dump.ldif
Clean the directory /var/lib/ldap (BACK IT UP)

slapadd -l dump.ldif

Next, set the permissions on /var/lib/ldap to ldap:ldap
Startup ldap:

 service ldap start