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

Page 59

Command and Tool Reference

NIS+ to LDAP Migration Scripts

The following commands migrate all user accounts with encrypted passwords from the NIS+ server into LDIF and place the results in the nisp_passwd.ldif file:

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

dn:cn=joe Bloggs,ou=People,dc=cup,dc=hp,dc=com uid: jbloggs

cn: joe Bloggs

objectclass: top

objectclass: person

objectclass: organizationPerson

objectclass: inetOrgPerson

objectclass: posixAccount

objectclass: account

mail: jboggs@cup.hp.com

givenname: Joe sn:bloggs

userPassword: {crypt}daCXgaxahRNkg

loginShell: /bin/ksh

uidNumber: 20

gidNumber: 20

homeDirectory: /home/jbloggs

The following commands migrate groups data from the NIS+ server to LDIF and place the results in the nisp_group.ldif file:

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

dn:cn=rose.cup.hp.com,ou=Groups,dc=cup,dc=hp,dc=com objectclass: posixGroup

objectclass: top

ipHostNumber: 10.1.70.5

cn: rose

cn: rose.cup.hp.com

userPassword: {crypt}*

gidNumber: 325

Chapter 3

53

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