Red Hat LINUX 7.2 Reference Manual page 256

Hide thumbs Also See for LINUX 7.2:
Table of Contents

Advertisement

256
15.10.3 Migrate Your Old Authentication Information to
LDAP Format
The /usr/share/openldap/migration directory contains a set of shell and Perl scripts for
migrating your old authentication information into LDAP format. (You must have Perl installed on
your system to use these scripts.)
First, you'll need to modify the migrate_common.ph file so that it reflects your domain. The
default DNS domain should be changed from:
$DEFAULT_MAIL_DOMAIN = "padl.com";
to something like:
$DEFAULT_MAIL_DOMAIN = " your_company.com ";
The default base should also be changed, from:
$DEFAULT_BASE = "dc=padl,dc=com";
to something like:
$DEFAULT_BASE = "dc= your_company ,dc= com ";
Next, you'll need to decide which script to use. The following table may help you:
Table 15–1 LDAP Migration Scripts
Existing name service
/etc flat files
/etc flat files
NetInfo
NetInfo
NIS (YP)
NIS (YP)
Run the appropriate script based on your existing name service.
Chapter 15:Lightweight Directory Access Protocol (LDAP)
Is LDAP running?
yes
no
yes
no
yes
no
Use this script:
migrate_all_on-
line.sh
migrate_all_of-
fline.sh
migrate_all_net-
info_online.sh
migrate_all_net-
info_offline.sh
migrate_all_nis_on-
line.sh
migrate_all_nis_of-
fline.sh

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux 7.2

Table of Contents