LDAP-UX Client Services B.04.00 Administrator's Guide

Command and Tool Reference
Name Service Migration Scripts
Chapter 5 163
migrate_rpc.pl migrates RPCs in /etc/rpc.
migrate_services.pl
c
migrates services in
/etc/services.
migrate_common.ph is a set of routines and
configuration information all
the perl scripts use.
a. systems have been configured with the same
hostname, then the migration script
migrate_host.pl will create multiple entries in its
resulting LDIF file with the same distinguished
name for the hostname for each of the IP addresses.
Since distinguished names need to be unique in an
LDAP directory, users need to first manually merge
the IP addresses with one designated host record
and delete the duplicated records in their LDIF file.
A resulting merge might look as follows:
....
dn: cn=machineA, ou=devices, ou=unix, o=hp.com
objectClass: top
objectClass: ipHost
objectClass: device
ipHostNumber: 15.13.130.72
ipHostNumber: 15.13.104.4
ipHostNumber: 15.13.95.92
cn: mymachine
cn: hpma01.cup.hp.com
....
b. Netgroup
- The NIS optimization maps ‘byuser’ and ‘byhost’
are not utilized.
-Each triple is stored as a single string.
-Each triple must be enclosed by parentheses, e.g
“(machine, user, domain)” is a valid triple while
“machine, user, domain” is not.
Table 5-6 Migration Scripts (Continued)
Script Name Description