HP UX LDAP-UX Integration Software manual Migrateallnisplusonline.sh

Page 36

Migrating NIS+ to LDAP

Importing Your NIS+ Data to Your LDAP Directory Server

./migrate_nisp_aliases.pl

cat nisp_aliases.ldif >> main.ldif

Step 14. Run the /opt/ldapux/bin/ldapmodify tool to import the LDIF file main.ldif that you created above into the LDAP directory server. For example, the following command imports main.ldif to the base DN cup.hp.com in the LDAP directory server LDAPSERV1:

/opt/ldapux/bin/ldapmodify -a -c -h LDAPSERV1 -D \ “cn = Directory Manager” -w <passwd> -f main.ldif

Step 15. If you choose to migrate the credential tables in steps 8 and 9 then LDIF entries for the password, hosts and credential tables were added to the main.ldif file. If this is the case then when you perform this step, the following warning messages will be displayed:

adding new entry uid=pubadmin,ou=People,dc=cup,dc=hp,dc=com

ldap_add: Already exists

No action needs to be taken if you see these warnings. These warnings are generated because the script has attempted to add the hosts and passwd entries created in steps 8 and 9 to the LDAP directory for a second time.

Run the following script to migrate your service data from NIS+ server to the LDAP directory server:

./migrate_all_nisplus_online.sh

The migrate_all_nisplus_online.sh script migrates the NIS+ service data, groups, services, netgroup, networks, protocols and rpc from the NIS+ server into your LDAP directory in one operation. Provide the necessary information when the script prompts you for the following required information:

Enter the fully qualified domain name where you migrate the NIS+ data from for the following question:

Enter the NIS+ domain to import from

Enter the host name of the LDAP directory server where you migrate the NIS+ data to for the following question:

Enter the name of your LDAP server

Enter the manager DN for the following question. By default, you can enter Directory Manager as the directory manager:

30

Chapter 2

Image 36
Contents Editon Manufacturing Part Number J4269-90054 E0606Legal Notices Contents Glossary Index Intended Audience Publishing HistoryCommand and Tool Reference Use this chapter to What’s in This documentHP Encourages Your Comments Overview of NIS+ to Ldap Migration Overview Documentation References Ldap Directory Server and LDAP-UX Client Services Overview of the LDAP-UX Integration ProductComparing Features and Security Between LDAP-UX and NIS+ Feature Comparison Between Ldap and NIS+Features Comparison between Ldap and NIS+ Security Comparison Between LDAP-UX and NIS+Security Coexisting with Trusted Mode Security Comparison between LDAP-UX and NIS+ NIS+ withTrusted Mode Comparing Ldap and NIS+ Information SharingSimplified NIS+ Environment How LDAP-UX Client Services Work Simplified LDAP-UX Client Services EnvironmentComparing Ldap and NIS+ Information Sharing LDAP-UX Client Administrator’s Tools Migration Scripts Ldap Administrator ‘s Tools DescriptionNIS+ to Ldap Migration Tools Description NIS+ to Ldap Migration Tools Tool DescriptionOverview of NIS+ to Ldap Migration Migrating NIS+ to Ldap Before You BeginBefore You Begin Migrating NIS+ Service Data to the Ldap Server Summary of Migration StepsStep Migrating NIS+ Clients to LDAP-UX Client Services Installing and Configuring Your Ldap Directory Server Installing Netscape Directory ServerConfiguring Netscape Directory Server Installing the LDAP-UX Integration Product Installing ONC EP/NCF Software and AutoFS 2.3 Patch ONC EP/NCF Software RequirementSeptember AutoFS Patch Requirement Chapter Publickey and Automount Schemas Publickey SchemaAutomount Schema Following shows the new automount schema in the Ldif formatImporting 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 Ldappasswd Command SyntaxLdap Directory Tools ExamplesLdapentry Ldapscope SyntaxExamples NIS+ to Ldap Migration Scripts Ldapsearch Ldapmodify LdapdeleteMigrates groups Migrates all user Environment Variables General Syntax For Migration ScriptsDefault Naming Context Naming ContextNIS+ Map Name Location in the Directory Tree Migrating The Credential Table NisMapName=mapname Non-standard mapaMigrating 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 Glossary Ldap Data Interchange Format LdifNetwork Information Service Plus NIS+ Glossary Symbols Index
Related manuals
Manual 214 pages 54.35 Kb Manual 26 pages 60.39 Kb