Migrating Directories From Earlier Releases; Additional Resources; Installed Documentation - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

Chapter 13. Lightweight Direc...
Existing name service
flat files
/etc
flat files
/etc
NetInfo
NetInfo
NIS (YP)
NIS (YP)
Table 13.1. LDAP Migration Scripts

8. Migrating Directories from Earlier Releases

With Red Hat Enterprise Linux, OpenLDAP uses Sleepycat Software's Berkeley DB system as
its on-disk storage format for directories. Earlier versions of OpenLDAP used GNU Database
Manager (gdbm). For this reason, before upgrading an LDAP implementation to Red Hat
Enterprise Linux 4.5.0, original LDAP data should first be exported before the upgrade, and then
reimported afterwards. This can be achieved by performing the following steps:
1. Before upgrading the operating system, run the command
. This outputs an LDIF file called
ldif-output
LDAP directory.
2. Upgrade the operating system, being careful not to reformat the partition containing the LDIF
file.
3. Re-import the LDAP directory to the upgraded Berkeley DB format by executing the
command
/usr/sbin/slapadd -l ldif-output

9. Additional Resources

The following resources offer additional information on LDAP. It is highly recommended that you
review these, especially the OpenLDAP website and the LDAP HOWTO, before configuring
LDAP on your system(s).

9.1. Installed Documentation

/usr/share/docs/openldap-<versionnumber>/
document and miscellaneous information.
• LDAP related man pages — There are a number of man pages for the various applications
246
Is LDAP
Script to Use
running?
yes
migrate_all_online.sh
no
migrate_all_offline.sh
yes
migrate_all_netinfo_online.sh
no
migrate_all_netinfo_offline.sh
yes
migrate_all_nis_online.sh
no
migrate_all_nis_offline.sh
ldif-output
/usr/sbin/slapcat -l
containing the entries from the
.
directory — Contains a general
README

Advertisement

Table of Contents
loading

Table of Contents