Legal | Privacy
Integrating Oracle Internet Directory with Microsoft Active Directory Integrtion: Import Connector

Integrating Oracle Internet Directory with Microsoft Active Directory: Import Connector

This module provides instructions to create and configure an Import Connector to integrate Oracle Internet Directory (OID) with Microsoft Active Directory Server (ADS).

Topics

This module covers the following topics:

Place the cursor on this icon to display all screenshots. You can also place the cursor on each icon to see only the screenshot associated with it.

Overview

In an enterprise environment, you may have multiple directory servers. In such a situation, to maintain consistency of data across the enterprise, all the directory servers must be synchronized and have the same data state. In the Windows environment, user and group information are stored and maintained in Active Directory Server, which is a part of the Windows 2000 operating system. All Oracle components use OID as a central repository to store and maintain user and group information. Oracle Directory Integration and Provisioning platform (DIP) is used to synchronize both the directories in an enterprise environment.

You can synchronize OID and ADS by using an import connector or an export connector. In this tutorial, you learn to configure the import connector. An import connector is used to import users and groups from a single domain instance of ADS to OID. You also learn how to bootstrap or migrate users and groups from ADS to OID.

Prerequisites

Before starting this module, you should have:

1.

Installed Oracle Application Server 10g Instance

2.

Verified whether OID server is functional

Setting Up the Environment

1.

To set up the environment, open a new terminal and enter:

export ORACLE_HOME=/home/oracle/infra
export ORACLE_SID=asdb
export PATH=/home/oracle/infra/bin:$PATH

Creating Attribute and Domain Mapping Rules

The first step in configuring an import connection with ADS is to set the domain and attribute mapping rules. Perform the following steps:

1.

Open a Command Prompt window and change the working directory to %ORACLE_HOME%/ldap/odi/conf by using the following command:

cd %ORACLE_HOME%/ldap/odi/conf
Move your mouse over this icon to see the image
2.

In this directory, copy the existing sample file activechg.map.master to activechg.map by using the following command:

cp activechg.map.master activechg.map

Move your mouse over this icon to see the image



3.

Move your mouse over this icon to see the image

 

 

4.

Move your mouse over this icon to see the image

 

 

Uploading the Mapping File to Your Import Profile

For the DIP server to use the mapping file to integrate ADS and OID, you must upload the content of the activechg.map file to the import connector profile ActiveChgImp. To upload the content of this file to the import profile, use the dipassistant command.

1.

Granting Access Permission for Active Directory (AD) Group Synchronization

Unlike most LDAP servers, ADS stores its groups in the users container. Because you are mapping all the entries in the ADS users container to the users container in the OID server, it is necessary that you add an extra access control policy in OID that allows you to create the groups container under the users container in OID.

1.

Download the LDIF file (grantrole.ldif) with access control policy definition.

2.

From the command prompt window, open the grantrole.ldif file in an editor by using the following command:

vi /u01/grantrole.ldif

Move your mouse over this icon to see the image

 

 

3.

Move your mouse over this icon to see the image

 

 

4.

Migrating the ADS Users and Groups to the OID Server

You can use the dipassistant command to migrate users and groups from ADS to OID server. This command provides a bootstrap command option for making OID and the ADS contain the same data before exchanging information. The dipassistant enables you to bootstrap by using either a parameter file or a completely configured integration profile. Use the following steps to configure the properties file:

1.

Move your mouse over this icon to see the image

 

 

2.

Move your mouse over this icon to see the image

 

 

3.

Move your mouse over this icon to see the image

 

 

4.
Parameters Description Value
odip.bootstrap.srctype Specifies whether the source of bootstrapping is LDAP or LDIF LDAP
odi.bootstrap.srcurl Specifies the source directory location FQDN:port for the ADS
odip.bootstrap.srcdn Specifies the source directory Bind DN

cn=administrator,cn=users,
dc=acme,dc=com
or
administrator@acme.com

odip.bootstrap.srcpasswd Specifies the bind password for the source Bind DN ADS administrator password
odip.bootstrap.desttype Specifies whether the destination of bootstrapping is LDAP or LDIF LDAP
odip.bootstrap.desturl Specifies the destination directory location FQDN:port for the OID server
odip.bootstrap.destdn Specifies the destination directory Bind DN cn=orcladmin
odip.bootstrap.destpasswd Specifies the bind password for the destination Bind DN welcome1
odip.bootstrap.mapfile Specifies the location of the map file that contains the attribute and domain mappings activechg.map
odip.bootstrap.logfile Specifies the log file location /oracle/ldap/odip/scr/bootstrap.log
odip.bootstrap.logseverity Specifies the type of the log messages that needs to be logged
INFO ---- 1
WARNING ---- 2
DEBUG ---- 4
ERROR ---- 8

NOTE: A combination of these types can also be given. Similarly, for all types of message, use 1 + 2 + 4 + 8 = 15.
15
odip.bootstrap.trcfile Specifies the location of the trace file /Oracle/ldap/odip/scr/bootstrap.trc
5.

Move your mouse over this icon to see the image

 

Move your mouse over this icon to see the image

 

You can now log in to the OID server and view the users and groups migrated from ADS.

 

Configuring ADS Import Integration Profile by Using Oracle Directory Manager

After successfully bootstrapping the ADS and OID server, you can configure the import integration profile by using the Oracle Directory Manager. This profile is executed by the Oracle DIP server periodically to synchronize the OID server. Perform the following steps to configure the import profile:

1.
2.

Move your mouse over this icon to see the image

 

 

3.

Move your mouse over this icon to see the image

 

Move your mouse over this icon to see the image

 

 

4.
5.

Move your mouse over this icon to see the image

 

 

6.

The General tab is displayed first. Make changes to the following parameters in this tabbed page:

1. Scheduling Interval = 10
2. Debug Level = 63

Move your mouse over this icon to see the image

 

 

7.

Click the Execution tab and make changes to the following parameters:

1. Connected Directory Account = administrator@yourdomain.com
2. Connected Directory Account Password = password
3. Connected Directory URL = hostname.domain:port or IP address:port

Move your mouse over this icon to see the image

 

 

8.

Click the Mapping tab. You do not have to make any changes on this tabbed page as the mapping file is already uploaded to the profile.

Move your mouse over this icon to see the image

 

 

9.

Click the Status tab. The only parameter value that you need to change here is the Last Applied Change Number. To get the last change number, perform the following command from the command prompt window:

ldapsearch -p <oid_port> -h <AD_Host_name> -D "administrator@acme.com"
-w admin_password -b "" -s base "objectclass=*" highestCommittedUSN

Enter this return value as the parameter value for the Last Applied Change Number parameter.

After making all the required changes, save the changes by clicking OK.

Move your mouse over this icon to see the image

 

Move your mouse over this icon to see the image

 

 

10.

Start the Oracle DIP server to execute the ActiveChgImport integration profile. Start the DIP server by executing the following command from the command prompt window:

oidctl connect=<connect_string> server=odisrv instance=1 config=1 flags="port=3060" start

Move your mouse over this icon to see the image

 

 

11.

Change the Agent Profile Status to Enable. Click OK.

Move your mouse over this icon to see the image

 

 

12.

After a scheduled time, the integration profile is executed. You can see the status of the profile from the Status tab in the profile property dialog box. Check whether the synchronization status is Synchronization Successful.

Move your mouse over this icon to see the image

 

 

Testing the ActiveChgImport Profile

To create users in Active Directory and to verify whether the user has been provisioned into OID, perform the following steps:

1.
2.

Move your mouse over this icon to see the image

 

 

3.

Move your mouse over this icon to see the image

 

 

4.
5.

Move your mouse over this icon to see the image

 

 

6.

Click Finish.

Move your mouse over this icon to see the image

 

 

7.

Click Refresh to view the new user.

Move your mouse over this icon to see the image

 

 

Copyright © 2004 Oracle Corporation. All Rights Reserved.

 

E-mail this page
Printer View Printer View
Oracle Is The Information Company About Oracle | Oracle RSS Feeds | Careers | Contact Us | Site Maps | Legal Notices | Terms of Use | Privacy