|
|
| Command and Tool Reference | ||
|
|
| NIS+ to LDAP Migration Scripts | ||
Table | NIS+ to LDAP Migration Tools (Continued) |
|
| ||
| Tool |
| Description |
| Corresponding LDIF |
|
|
| |||
|
|
| File | ||
|
|
|
|
| |
| cred_table_sort.pl |
| Migrates |
| passwd.cred.etc and |
|
|
| credential table |
| host.cred.etc |
|
|
| entries including |
|
|
|
|
| public keys and |
|
|
|
|
| secret keys of |
|
|
|
|
| users and hosts |
|
|
|
|
| from the NIS+ |
|
|
|
|
| server to the flat |
|
|
|
|
| (etc) file. |
|
|
| migrate_all_nisplus_onlin |
| Migrates NIS+ |
|
|
| e.sh |
| name service data |
|
|
|
|
| to an LDAP |
|
|
|
|
| directory. |
|
|
|
|
|
|
|
|
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:
Chapter 3 | 47 |