Red Hat Linux 8.0: The Official Red Hat Linux Reference Guide | ||
---|---|---|
Prev | Chapter 18. Lightweight Directory Access Protocol (LDAP) | Next |
In OpenLDAP Version 2.0, the on-disk storage format used by the slapd LDAP server has changed. If you are upgrading LDAP from Red Hat Linux 7.0 or earlier, you will need to extract the existing LDAP directories to an LDIF file using the following command:
ldbmcat -n > <ldif_file> |
In the above command, change <ldif_file> to the name of the output file. Next type the following command to import this file into OpenLDAP 2.0:
slapadd -l <ldif_file> |