HP CIFS Server 2.2i Administrator's Guide version A.01.11.01
LDAP Integration Support
Migrating Your data to the Netscape Directory
Chapter 6 127
Migrating Your data to the Netscape Directory
HP recommends that all UNIX user accounts either in the /etc/passwd
file or NIS database files are migrated to the Netscape Directory Server.
The LDAP-UX Integration product provides migration scripts to
accomplish the task in an automated way. These scripts are located in
/opt/ldapux/migrate directory. The two shell scripts,
migrate_all_online.sh and migrate_all_nis_online.sh, migrate all
your source files in the /etc directory or NIS maps, while the perl
scripts, migrate_passwd.pl, migrate_group.pl, and
migrate_hosts.pl, migrate individual files. The shell scripts call the
perl scripts. For detailed information for a complete description of the
migration scripts, and what they do, and how to use them, see the
/opt/ldapux/README files or the “Name Service Migration Scripts”
section of LDAP-UX Client Services B.03.20 Administrator’s Guide at
http://docs.hp.com
Migrating All Your Files
The two shell scripts migrate_all_online.sh and
migrate_all_nis_online.sh migrate all your name service data either
to an LDAP Data Interchange Format (LDIF) file or directly into your
directory. The migrate_all_online.sh shell script gets information
from the source files, such as /etc/passwd, /etc/group, and /etc/hosts. The
migrate_all_nis_online.sh script gets information from your NIS
maps using the ypcat(1) command. The scripts take no parameters but
prompt you for needed information. They also prompt you for whether to
leave the output as LDIF or to add the entries to your directory.
NOTE HP recommends that you keeps a small subset of users in the
/etc/passwd file, such as the root user, IT manager. This allows root
users having the different password across HP-UX systems. Also, if the
LDAP directory server is unavailable, you can still log into the system.