NIS+ to LDAP Migration Guide

Command and Tool Reference
NIS+ to LDAP Migration Scripts
Chapter 3 49
If you change the default naming context, modify the file
migrate_common.ph and change it to reflect your naming context.
Migrating The Credential Table
The cred_table_sort.pl uses the niscat command to retrieve the
credential table entries including public keys and secret (private) keys of
users and hosts from the NIS+ server. This tool then generates the
passwd.cred.etc and host.cred.etc files in the flat (etc) format. The
passwords, hosts and credential tables are generated after you run the
cred_table_sort.pl script.
In an LDAP directory, the public keys and secret (private) keys are
stored in the same directory entries for which those keys are associated
with. Because of this, the tables generated by the cred_table_sort.pl
script must be migrated into the passwd.ldif and hosts.ldif files.
You must manually use the /opt/ldapux/migrate/migrate_passwd.pl
script to migrate the passwd.cred.etc file to the passwd.ldif file and
use the /opt/ldapux/migrate/migrate_hosts.pl script to migrate
the host.cred.etc file to the hosts.ldif file.
The public keys and secret keys for hosts are migrated to the ou=hosts
container.
Use the following steps to migrate the credential table from NIS+ server
to the hosts.ldif file and passwd.ldif file:
Step 1. Log in as root on your NIS+ client system and run the following cd
command to go to the subdirectory where the migration scripts are
located:
user-defined
(non-standard) map
a
nisMapName=mapname
a. In general, non-standard NIS+ maps should be
converted into LDAP-based schemas. This
procedure generally requires migration
consultation from LDAP experts.
Table 3-2 Default Naming Context (Continued)
NIS+ Map Name
Location in the Directory
Tree