HP UX LDAP-UX Integration Software manual NIS+ to Ldap Migration Scripts

Page 60

Command and Tool Reference

NIS+ to LDAP Migration Scripts

The following commands migrate hosts data from the NIS+ server to

LDIF and places the results in the nisp_hosts.ldif file:

export LDAP_BASEDN=”dc=cup,dc=hp,dc=com” export DOM_ENV =”cup.hp.com” migrate_nisp_hosts.pl

dn:cn=mira.cup.hp.com,ou=Hosts,dc=cup,dc=hp,dc=com objectclass: ipHost

objectclass: device

objectclass: top

ipHostNumber: 10.1.80.60

cn: mira

cn: mira.cup.hp.com

The following commands migrates the user defined map client_sports from the NIS+ server to LDIF and places the results in the nisp_nonstand.ldif file:

export LDAP_BASEDN=”dc=cup,dc=hp,dc=com” export DOM_ENV =”cup.hp.com” migrate_nisp_nonstandard.pl client_sports

dn:nisMapName=client_sport,nisMapName=clien_sports objectClass: nisMap

objectClass: top

nisMapName: client_sports

dn:cn=client1,nisMapName=client_sports objectClass: nisObject objectClass: top

nisMapName: client_sports

cn: client1

nisMapEntry: (football, baseketball)

dn:cn=client2,nisMapName=client_sports objectClass: nisObject objectClass: top

nisMapName: client_sports

cn: client2

nisMapEntry: (baseball, tennis)

54

Chapter 3

Image 60
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