Existing name service
Is LDAP
running?
Script to Use
/etc
flat files
yes
migrate_all_online.sh
/etc
flat files
no
migrate_all_offline.sh
NetInfo
yes
migrate_all_netinfo_online.sh
NetInfo
no
migrate_all_netinfo_offline.sh
NIS (YP)
yes
migrate_all_nis_online.sh
NIS (YP)
no
migrate_all_nis_offline.sh
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
/usr/sbin/slapcat -l
ldif-output
. This outputs an LDIF file called
ldif-output
containing the entries from the
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>/
directory — Contains a general
README
document and miscellaneous information.
• LDAP related man pages — There are a number of man pages for the various applications
Chapter 13. Lightweight Direc...
246
Summary of Contents for ENTERPRISE LINUX 4.5.0 -
Page 1: ...Red Hat Enterprise Linux 4 5 0 4 5 0 Reference Guide ISBN N A Publication date ...
Page 2: ...Red Hat Enterprise Linux 4 5 0 ...
Page 4: ...Red Hat Enterprise Linux 4 5 0 ...
Page 24: ...xxiv ...
Page 26: ......
Page 36: ...12 ...
Page 72: ...48 ...
Page 112: ...88 ...
Page 122: ...98 ...
Page 140: ...116 ...
Page 142: ......
Page 300: ...276 ...
Page 318: ...294 ...
Page 320: ......
Page 332: ...308 ...
Page 350: ...326 ...
Page 378: ...354 ...
Page 388: ...364 ...
Page 394: ...370 ...
Page 395: ...Part IV Appendixes ...
Page 396: ......