NIS+ to LDAP Migration Guide

Command and Tool Reference
NIS+ to LDAP Migration Scripts
Chapter 3 47
Environment Variables
When you use the NIS+ migration scripts to migrate NIS+ service data,
set the following environment variables:
DOM_ENV The fully qualified domain nam where you want to
migrate data from.
LDAP_BASEDN The base distinguished name where you want to put
data in the LDAP directory.
Examples:
The following command sets the fully qualified domain name to
cup.hp.com”:
export DOM_ENV =”cup.hp.com”
The following command sets the base DN to “dc=cup, dc=hp, dc=com”:
export LDAP_BASEDN=”dc=cup, dc=hp, dc=com”
General Syntax For Migration Scripts
NIS+ migration scripts use the following general syntax:
cred_table_sort.pl Migrates
credential table
entries including
public keys and
secret keys of
users and hosts
from the NIS+
server to the flat
(etc) file.
passwd.cred.etc and
host.cred.etc
migrate_all_nisplus_onlin
e.sh
Migrates NIS+
name service data
to an LDAP
directory.
Table 3-1 NIS+ to LDAP Migration Tools (Continued)
Tool Description
Corresponding LDIF
File