HP UX LDAP-UX Integration Software manual Steps to Import Your NIS+ Data into Your Directory

Page 33

Migrating NIS+ to LDAP

Importing Your NIS+ Data to Your LDAP Directory Server

 

 

Steps to Import Your NIS+ Data into Your Directory

 

 

Migration scripts are provided to ease the task of importing your NIS+

 

 

data into your LDAP directory. See Chapter 3, “Command and Tool

 

 

Reference,” on page 39 for a complete description of the NIS+ to LDAP

 

 

migration scripts, what they do, and how to use them.

 

 

You should migrate NIS+ service data one domain at a time. Perform the

 

 

following procedures on an NIS+ client system to migrate your NIS+

 

 

service data to the LDAP directory server.

 

 

As an example, use the following procedures to migration the NIS+

 

 

sub-domain service data with sub-domain name cup.hp.com to an LDAP

 

 

directory server LDAPSERV1 for illustrative purposes:

Step

1.

Log in as root on your NIS+ client system and run the following cd

 

 

command to go to the subdirectory where the migration scripts are

 

 

located:

 

 

cd /opt/ldapux/migrate/nisplusmigration

Step

2. Select a domain to migrate. For this example, select cup.hp.com as a

 

 

domain name.

Step

3.

Select the base Distinguished Name (DN) in the LDAP directory where

 

 

you want to put your NIS+ data. For this example, select "dc=cup,

 

 

dc=hp, dc=com" as the base DN.

Step

4.

Export the environment variable, LDAP_BASEDN. For this example, use

 

 

following command to set the base DN to “dc=cup, dc=hp, dc=com”:

 

 

export LDAP_BASEDN=”dc=cup, dc=hp, dc=com”

Step

5. Export the environment variable, DOM_ENV. The DOM_ENV variable is the

 

 

fully qualified domain name where you migrate the NIS+ data from. For

 

 

this example, use the following command to set the DOM_ENV variable to

 

 

the domain name “cup.hp.com”:

 

 

export DOM_ENV = “cup.hp.com”

Step

6.

Export the environment variable, LDAP_HOST. The LDAP_HOST variable

 

 

specifies the host name of the LDAP directory server where you migrate

 

 

the NIS+ data to. For this example, use following command to set the

 

 

LDAP directory name to LDAPSERV1:

export LDAP_HOST=”LDAPSERV1”

Chapter 2

27

Image 33
Contents Manufacturing Part Number J4269-90054 E0606 EditonLegal Notices Contents Glossary Index Publishing History Intended AudienceCommand and Tool Reference Use this chapter to What’s in This documentHP Encourages Your Comments 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 Comparing Ldap and NIS+ Information SharingSimplified NIS+ Environment Simplified LDAP-UX Client Services Environment How LDAP-UX Client Services WorkComparing Ldap and NIS+ Information Sharing LDAP-UX Client Administrator’s Tools Migration Scripts Ldap Administrator ‘s Tools DescriptionNIS+ to Ldap Migration Tools Description Tool Description NIS+ to Ldap Migration ToolsOverview of NIS+ to Ldap Migration Before You Begin Migrating NIS+ to LdapBefore 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 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 VariablesDefault Naming Context Naming ContextNIS+ Map Name Location in the Directory Tree 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