HP UX LDAP-UX Integration Software manual Importing Your NIS+ Data to Your Ldap Directory Server

Page 35

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 user-defined maps or if you do not want to migrate the user-defined maps, then skip this step.

If you want to migrate the user-defined maps to the LDAP directory, run the migrate_nisp_nonstard.pl script to migrate each of the user-defined maps to the nisp_nonstardard.ldif file. Place the nisp_nonstardard.ldif file to a LDIF formatted file, main.ldif. Migrate the user-defined maps one map at a time.

./migrate_nisp_nonstandard.pl <user-defined map>

cat nisp_nonstardard.ldif >> main.ldif

Where <user-defined map> is the name of map to be migrated.

For example, the following command migrates the user-defined map client_sports to the nisp_nonstandard.ldif file, and places the nisp_nonstandard.ldif file to main.ldif:

./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

Image 35
Contents Manufacturing Part Number J4269-90054 E0606 EditonLegal Notices Contents Glossary Index Publishing History Intended AudienceHP Encourages Your Comments Command and Tool Reference Use this chapter toWhat’s in This document Overview of NIS+ to Ldap Migration Overview Documentation References Overview of the LDAP-UX Integration Product Ldap Directory Server and LDAP-UX Client ServicesFeature Comparison Between Ldap and NIS+ Comparing Features and Security Between LDAP-UX and NIS+Security Comparison Between LDAP-UX and NIS+ Features Comparison between Ldap and NIS+Security Comparison between LDAP-UX and NIS+ NIS+ with Security Coexisting with Trusted ModeTrusted Mode Simplified NIS+ Environment Comparing Ldap and NIS+ InformationSharing Simplified LDAP-UX Client Services Environment How LDAP-UX Client Services WorkComparing Ldap and NIS+ Information Sharing NIS+ to Ldap Migration Tools Description LDAP-UX Client Administrator’s Tools Migration ScriptsLdap Administrator ‘s Tools Description Tool Description NIS+ to Ldap Migration ToolsOverview of NIS+ to Ldap Migration Before You Begin Migrating NIS+ to LdapBefore You Begin Step Migrating NIS+ Service Data to the Ldap ServerSummary of Migration Steps Migrating NIS+ Clients to LDAP-UX Client Services Configuring Netscape Directory Server Installing and Configuring Your Ldap Directory ServerInstalling Netscape Directory Server Installing the LDAP-UX Integration Product September Installing ONC EP/NCF Software and AutoFS 2.3 PatchONC EP/NCF Software Requirement AutoFS Patch Requirement Chapter Publickey Schema Publickey and Automount SchemasFollowing shows the new automount schema in the Ldif format Automount SchemaImporting Your NIS+ Data to Your Ldap Directory Server Steps to Import Your NIS+ Data into Your Directory Server and placed into a Ldif formatted file Importing Your NIS+ Data to Your Ldap Directory Server Migrateallnisplusonline.sh Enter the manager DN Configuring LDAP-UX Client Services Automount files ldap Configure the LDAP-UX Client Services, see the Configure Configuring LDAP-UX Client Services Verify LDAP-UX Client Services Ll /tmp Ls -l Verify LDAP-UX Client Services Chapter Syntax Ldappasswd CommandExamples Ldap Directory ToolsLdapentry Syntax LdapscopeExamples Ldapsearch Ldapmodify Ldapdelete NIS+ to Ldap Migration ScriptsMigrates groups Migrates all user General Syntax For Migration Scripts Environment VariablesNIS+ Map Name Location in the Directory Tree Default Naming ContextNaming Context NisMapName=mapname Non-standard mapa Migrating The Credential TableMigrating Most of Service Data Using One Script Migrating Individual Service Data Migrating User-Defined Maps NIS+ to Ldap Migration Scripts NIS+ to Ldap Migration Scripts Following shows the nispautomap.ldif file NIS+ to Ldap Migration Scripts Chapter Ldap Data Interchange Format Ldif GlossaryNetwork Information Service Plus NIS+ Glossary Index Symbols
Related manuals
Manual 214 pages 54.35 Kb Manual 26 pages 60.39 Kb