LDAP-UX Client Services B.04.00 Administrator's Guide
Command and Tool Reference
Name Service Migration Scripts
Chapter 5160
Name Service Migration Scripts
This section describes the shell and perl scripts that can migrate your
name service data either from source files or NIS maps to your LDAP
directory. These scripts are found in /opt/ldapux/migrate. The two shell
scripts migrate_all_online.sh and migrate_all_nis_online.sh
migrate all your source files or NIS maps, while the perl scripts
migrate_passwd.pl, migrate_group.pl, migrate_hosts.pl, and so
forth, migrate individual maps. The shell scripts call the perl scripts.
The migration scripts require perl, version 5 or later, which is installed
with the NIS/LDAP Gateway in /opt/ldapux/contrib/bin/perl.
Naming Context
The naming context specifies where in your directory your name service
data will be, under the base DN. For example, if your base DN is
“ou=unix,o=hp.com,” the passwd map would be at
“ou=People,ou=unix,o=hp.com”. Table 5-5 shows the default naming
context for the supported services. The default will work in most cases.
Table 5-5 Default Naming Context
Map Name
Location in the Directory
Tree
passwd ou=People
group ou=Groups
netgroup ou=Netgroup
hosts ou=Devices
networks ou=Networks
protocols ou=Protocols
rpc ou=Rcp
services ou=Services