Saturday, January 19, 2013

Installing and Configuring OID Connector for OpenLDAP in OIM

Version: Oracle Identity Manager 11g R1
Description: This guide will show you how to integrate and configure OpenLDAP into OIM. The Oracle Internet Directory (OID) connector is utilized for the integration. The OID connector uses Identity Connector Framework (ICF).

Prerequisites
  1. OpenLDAP needs to be installed. This guide assumes OpenLDAP is installed on the local machine. The OpenLDAP installation guide can be found here.

  2. OIM 11.1.1.5.3 or later is required. Click here for guide.
Obtaining OID Connector
Link: http://www.oracle.com/technetwork/middleware/id-mgmt/downloads/connectors-101674.html
Name: Oracle Internet Directory Version: 11.1.1.5.0
File: OID-11.1.1.5.0.zip

Installing the Connector in OIM
  1. Unpack "OID-11.1.1.5.0.zip" by executing the following command:
    unzip OID-11.1.1.5.0.zip

  2. Move "OID-11.1.1.5.0" folder into "OIM_HOME/server/ConnectorDefaultDirectory/"
    mv OID-11.1.1.5.0/ /home/oracle/Oracle/Middleware/Oracle_IDM1/server/ConnectorDefaultDirectory/
    

  3. Login to the OIM console and install "ODSEE/OUD/LDAPV3 Connector 11.1.1.5.0". The screenshots given below demonstrates this procedure.
Step 1: Log in to OIM Console


Step 2: Click Advanced


Step 3: Select Manage Connector


Step 4: Click Install


Step 5: Select Connector and Load


Step 6


Step 7: Make sure everything is successful


Creating IT Resource for OpenLDAP
  1. In the OIM console, navigate to Advanced -> Create IT Resource under Configuration

  2. Specify connection parameters according to your OpenLDAP environment.
     IT Resource Name: OpenLDAP
     IT Resource Type: LDAP
     Configuration Lookup: Lookup.LDAP.Configuration
     Connector Server Name:
     baseContexts: "dc=my-domain,dc=com"
     credentials: <Password for principal>
     failover:
     host: localhost
     port: 389
     principal: cn=Manager,dc=my-domain,dc=com
     ssl: false

  3. Click continue for the other steps. The screenshots given below demonstrates this process.
Step 1: Select Create IT Resource


Step 2:
IT Resource Name: OpenLDAP
 IT Resource Type: LDAP


Step 3: Configuration


Step 4: Role Access Permission


Configuring the "Lookup.LDAP.Configuration" Lookup
  1. Login to Design Console.
    cd /home/oracle/Oracle/Middleware/Oracle_IDM1/designconsole/
    ./xlclient.sh

  2. Navigate to Administration -> Lookup Definition.

  3. Type "Lookup.LDAP.Configuration" in the Code field. Then click the search button, which is the binoculars icon.

  4. Look for the Code Key "uidAttribute" and change its decode value to "entryUUID".

  5. If you do not have the "inetOrgPerson" object defined in OpenLDAP, look for the Code Key "accountObjectClasses" and substitute "inetOrgPerson" with "uidObject".

  6. The screenshots given below demonstrates this procedure.

Step 1: Log in to Design Console 


Step 2: Click Administration


Step 3: Click Lookup Definition


Step 4: Query for Lookup.LDAP.Configuration


 Default value for uidAttribute


Step 5: Change value for uidAttribute to entryUUID


Default Values for accountObjectClasses


Step 6: Modify to include you target system Account Object Classes

Validating the Functionality of the Connector
  1. In the OIM console, navigate to Advanced -> Search Schedule Job

  2. Look for "LDAP Connector OU Lookup Reconciliation" and change the IT Resource Name to "OpenLDAP". Then run the schedule task. This should bring in all the organization units.

  3. Login to Design Console and make sure "Lookup.LDAP.Organization" is populated with the organization units in OpenLDAP.

  4. To validate provisioning, create a user and give that user a OpenLDAP resource. Make sure resource status is "Provisioned" and check in OpenLDAP that the account got created.

  5. To validate reconciliation, run the "LDAP Connector User Search Reconciliation". Make sure to change the IT Resource Name to OpenLDAP. Check if an event is generated for the reconciliation.
Step 1: Click Search Scheduled Jobs


Step 2: Query for Scheduled Jobs


Step 3: Select LDAP Connector OU Lookup Reconciliation


Step 4: Change IT Resource Name


Step 5: Run reconciliation


Step 6: Validate OU Reconciliation


Step 7: Test Provisioning with new user


Step 8: Click User Resources

Step 9: Click Add


Step 10: Add OpenLDAP Resource for User


Step 11: Continue


Step 12: Specify information to create target account


Step 13: LDAP Groups


Step 14: LDAP User Role


Step 15: Summary


Step 16: Provisioned Initiated


Step 17: Click Refresh


Step 18: User Resources


Step 19: Validate Target System if user is created


Step 20: Test Target User Reconciliation. 
Change IT Resource Name and click Run.


Step 21: Select Event Management and Query for Reconciliation Events 


Step 22: Validate Reconciliation Events were created

3 comments:

  1. Hi

    Can you please tell me how to integrate OIM with Embedded Weblogic LDAP

    ReplyDelete
  2. When Running the "LDAP Connector OU Lookup Reconciliation" job then getting below error-
    org.identityconnectors.framework.common.exceptions.ConnectorException: No attribute named entryUUID found in entry

    Please help if any idea about this error.

    ReplyDelete
    Replies
    1. Hi Singh,
      were you able to resolve the issue. I am also facing the same issue.

      Thanks

      Delete