HP UX LDAP-UX Integration Software manual Server and placed into a Ldif formatted file

Page 34

Migrating NIS+ to LDAP

Importing Your NIS+ Data to Your LDAP Directory Server

Step

7.

Create the file that will contain all the data extracted from the NIS+

 

 

server and placed into a LDIF formatted file:

 

 

rm main.ldif

 

 

touch main.ldif

Step

8. If you do not have the credential tables on the NIS+ server that you want

 

 

to migrate, then skip this step and go to step 10.

 

 

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

9.

Run the following two scripts that migrate the credential files,

 

 

passwd.cred.etc and host.cred.etc, created in step 8 into two LDIF

 

 

files, passwd.ldif and hosts.ldif. Place passwd.ldif and

 

 

hosts.ldif into a LDIF formatted file, such as main.ldif:

 

 

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

 

 

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

 

 

cat passwd.ldif hosts.ldif >> main.ldif

 

 

 

NOTE

 

In an NIS+ server, the public key and secret (private) key are stored in

 

 

the same directory entries for which those keys are associated. Because

 

 

of this, the passwd.cred.etc and host.cred.etc files generated by the

 

 

cred_table_sort.pl script must be migrated into the passwd.ldif

 

 

and hosts.ldif files. You must manually use the

 

 

/opt/ldapux/migrate/migrate_passwd.pl script to migrate the

 

 

passwd.cred.etc file to the passwd.ldif file and use the

 

 

/opt/ldapux/migrate/migrate_hosts.pl script to migrate the

 

 

host.cred.etc file to the hosts.ldif file.

 

 

 

Step 10. If you do not want to migrate the AutoFS maps to the LDAP directory, then go to step 12. Otherwise, go to step 11.

Determine which AutoFS maps you have and which maps you want to migrate to the LDAP server.

28

Chapter 2

Image 34
Contents Editon Manufacturing Part Number J4269-90054 E0606Legal Notices Contents Glossary Index Intended Audience Publishing HistoryWhat’s in This document Command and Tool Reference Use this chapter toHP 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 Sharing Comparing Ldap and NIS+ InformationSimplified NIS+ Environment How LDAP-UX Client Services Work Simplified LDAP-UX Client Services EnvironmentComparing Ldap and NIS+ Information Sharing Ldap Administrator ‘s Tools Description LDAP-UX Client Administrator’s Tools Migration ScriptsNIS+ 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 Summary of Migration Steps Migrating NIS+ Service Data to the Ldap ServerStep Migrating NIS+ Clients to LDAP-UX Client Services Installing Netscape Directory Server Installing and Configuring Your Ldap Directory ServerConfiguring Netscape Directory Server Installing the LDAP-UX Integration Product ONC EP/NCF Software Requirement Installing ONC EP/NCF Software and AutoFS 2.3 PatchSeptember 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 ScriptsNaming Context Default 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