Migrating NIS+ to LDAP
Importing Your NIS+ Data to Your LDAP Directory Server
Step 11. Run the migrate_nisp_autofs.pl script to migrate each of the AutoFS maps determined in steps 10 ( such as /etc/auto_master, /etc/auto_home, /etc/auto_direc, etc...) from the NIS+ server to the nisp_automap.ldif file. Append the nisp_automap.ldif file into the LDIF formatted file, main.ldif. Migrate the AutoFS maps into the LDIF file one map at a time.
./migrate_nisp_autofs.pl <autofs map name>
cat nisp_automap.ldif >> main.ldif
For example, the following commands migrate the /etc/auto_master map to the nisp_automap.ldif and place the nisp_automap.ldif file to main.ldif:
./migrate_nisp_autofs.pl /etc/auto_master
cat nisp_automap.ldif >> main.ldif
Step 12. If you do not have any
If you want to migrate the
./migrate_nisp_nonstandard.pl
cat nisp_nonstardard.ldif >> main.ldif
Where
For example, the following command migrates the
./migrate_nisp_nonstandard.pl client_sports
cat nisp_nonstardard.ldif >> main.ldif
Step 13. If you do not have any aliases service data or if you do not want to migrate aliases service data, then skip this step.
Otherwise, run the migrate_nisp_aliases.pl script to migrate aliases service data to the nisp_aliases.ldif file and place the nisp_aliases.ldif file to a LDIF formatted file main.ldif as follows:
Chapter 2 | 29 |