Command and Tool Reference

NIS+ to LDAP Migration Scripts

cd /opt/ldapux/migrate/nisplusmigration

Step 2. Run the cred_table_sort.pl script to extract the credential table entries including public key and secret key of users and hosts from the NIS+ server. This creates the two files, passwd.cred.etc and host.cred.etc:

./cred_table_sort.pl

Step 3. Run the following two scripts that migrate the credential files, passwd.cred.etc and host.cred.etc, created in step 2 into two LDIF files, passwd.ldif and hosts.ldif:

../migrate_passwd.pl passwd.cred.etc passwd.ldif

../migrate_hosts.pl host.cred.etc hosts.ldif

Migrating Most of Service Data Using One Script

The shell script migrate_all_nisplus_online.sh migrates the following NIS+ services data into your directory server in one operation:

groups

hosts

services

rpc

netgroup

protocols

networks

This script calls the perl scripts described under “Migrating Individual Service Data” on page 51.

This script takes no parameters. But, you need to provide the necessary information when the scirpt prompts you for the following required information:

Enter the fully qualified domain name where you migrate the NIS+ data from for the following question:

Enter the NIS+ domain to import from

Enter the host name of the LDAP directory server where you migrate the NIS+ data to for the following question:

50

Chapter 3

Page 56
Image 56
HP UX LDAP-UX Integration Software manual Migrating Most of Service Data Using One Script