Thursday, July 16, 2009

Export entries from OpenLDAP

In order to export the entire LDAP directory from OpenLDAP, you have to run slapcat. This needs to be done with the LDAP service stopped.

An example command to do this is:



service ldap stop
slapcat > ldap.ldif
service ldap start



Ref : http://wiki.babel.com.au/index.php?area=Linux_Projects&page=DirectoryServerMigration

No comments: