HP UX LDAP-UX Integration Software manual Migrating Most of Service Data Using One Script

Page 56

Command and Tool Reference

NIS+ to LDAP Migration Scripts

cd /opt/ldapux/migrate/nisplusmigration

Step 2. Run the cred_table_sort.pl script to extract the credential table entries including public key and secret key of users and hosts from the NIS+ server. This creates the two files, passwd.cred.etc and host.cred.etc:

./cred_table_sort.pl

Step 3. Run the following two scripts that migrate the credential files, passwd.cred.etc and host.cred.etc, created in step 2 into two LDIF files, passwd.ldif and hosts.ldif:

../migrate_passwd.pl passwd.cred.etc passwd.ldif

../migrate_hosts.pl host.cred.etc hosts.ldif

Migrating Most of Service Data Using One Script

The shell script migrate_all_nisplus_online.sh migrates the following NIS+ services data into your directory server in one operation:

groups

hosts

services

rpc

netgroup

protocols

networks

This script calls the perl scripts described under “Migrating Individual Service Data” on page 51.

This script takes no parameters. But, you need to provide the necessary information when the scirpt 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:

50

Chapter 3

Image 56
Contents Editon Manufacturing Part Number J4269-90054 E0606Legal Notices Contents Glossary Index Intended Audience Publishing HistoryHP Encourages Your Comments Command and Tool Reference Use this chapter toWhat’s in This document 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 Simplified NIS+ Environment Comparing Ldap and NIS+ InformationSharing How LDAP-UX Client Services Work Simplified LDAP-UX Client Services EnvironmentComparing Ldap and NIS+ Information Sharing NIS+ to Ldap Migration Tools Description LDAP-UX Client Administrator’s Tools Migration ScriptsLdap Administrator ‘s Tools Description NIS+ to Ldap Migration Tools Tool DescriptionOverview of NIS+ to Ldap Migration Migrating NIS+ to Ldap Before You BeginBefore 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 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 ScriptsNIS+ Map Name Location in the Directory Tree Default Naming ContextNaming Context 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