Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cloning OID Connector

764027Jun 22 2010 — edited Apr 13 2011
Hi,

I am facing a problem cloning OID connector. I am describing this in detail.
What i expect: I want to use one OID connector to provision user to cn=users container in OID. And second (cloned) connector to provision to different node in OID).

When i clone OID connector using oimOIDUser.xml, There are two options:

1. I replace following entries from this xml to my Modified Name as these are the things that are required for a new connector if we just need a new connector provisioning to cn=users of any other target system (as we define our default container in Lookup.OID.Configuration ):

Object Name Previous Name Modified Name
IT Resource Type Definition OID Server IRS Server
IT Resource OID Resource IRS Resource
Resource Objects OID User IRS User
OID Group IRS Group
OID Oraganisation Unit IRS Organisation Unit
OID Role IRS Role
Process Forms (all the corresponding attributes as well) UD_OID_USR UD_IRS_USR
UD_OID_ROLE UD_ IRS _ROLE
UD_OID_GR UD_ IRS _GR
UD_OID_GRP UD_ IRS _GRP
UD_OID_RL UD_ IRS _RL
UD_OID_OU UD_ IRS _OU

And when i try provisioning using this connector IRS User, User is getting provisioned to cn=Users in OID successfully.
But i want to provision the User to: testId=Apple1,ou=Apple,ou=USER APPLICATIONS,ou=USER CONTEXT OBJECTS,dc=espappledev,dc=appledev,dc=Applecompany,dc=com,dc=nz

So for this i tried changing:
Lookup.OID.Configuration as Lookup.IRS.Configuration was not found, changing value of Code Key: ldapUserID & ldapUserDNPrefix to testId, ldapUserObjectClass to top|person|organizationalPerson|inetOrgPerson|orclUser|orclUserV2|ObjAliasUser (my custom class having four mandatory Attributes: businessCategory, GlobalUid, testId and RoleId), Default Container from cn=users to ou=Apple

where as specified ou=USER APPLICATIONS,ou=USER CONTEXT OBJECTS,dc=espappledev,dc=appledev,dc=Applecompany,dc=com,dc=nz in Root DN of IT Resource.

Now user is not getting provisioned in both OID user and IRS user throwing naming exception. I checked Root DN and it seems good. I think as Lookup.IRS.Configuration is not getting created while cloning, so IRS User connector is using Lookup.OID.Configuration and when i do changes to it, user provisoining throws error.

I tried cloning connector again, this time creating Lookup.IRS.Configuration in addition to Objects mentioned in table above. Modified Lookup.IRS.Configuration with my values. But it is still giving error. USER Creation Failed.

2. Second option is fully replacing OID with TID (my connector name) at all occurences except where OID classes are mentioned as i've to use OIDProv.jar and OIDRecon.jar. This case Provisioning to even cn=users throws exception:

Running GetTargetAttributeMapping
Running GetProcessData
Running SHOULDUSEXLORG
Target Class = java.lang.Boolean
Running SHOULDUSESSL
Target Class = java.lang.Boolean
Running CREATEUSER
Target Class = com.thortech.xl.integration.OID.tcUtilOIDUserOperations
ERROR,23 Jun 2010 11:15:35,947,[XELLERATE.APIS],Class/Method: tcLookupOperationsBean/getLookupValuesFilteredData encounter some problems: The LookupCode 'null' does not exist.
ERROR,23 Jun 2010 11:15:35,947,[XL_INTG.OID],====================================================
ERROR,23 Jun 2010 11:15:35,947,[XL_INTG.OID],Exception in OID:tcUtilAttributeNameMap:getIntegrationAttributes()null
ERROR,23 Jun 2010 11:15:35,947,[XL_INTG.OID],====================================================

ERROR,23 Jun 2010 11:15:35,948,[XELLERATE.APIS],Class/Method: tcLookupOperationsBean/getLookupValuesFilteredData encounter some problems: The LookupCode 'null' does not exist.
ERROR,23 Jun 2010 11:15:35,948,[XL_INTG.OID],====================================================
ERROR,23 Jun 2010 11:15:35,948,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : hashTableEnv() : null
ERROR,23 Jun 2010 11:15:35,948,[XL_INTG.OID],====================================================

ERROR,23 Jun 2010 11:15:35,948,[XL_INTG.OID],====================================================
ERROR,23 Jun 2010 11:15:35,948,[XL_INTG.OID], ERROR in com.thortech.xl.integration.OID.tcUtilOIDUserOperations:createUser(S,S,S,S,S) Exception Generic Exception:
ERROR,23 Jun 2010 11:15:35,948,[XL_INTG.OID],====================================================

ERROR,23 Jun 2010 11:15:35,948,[XL_INTG.OID],====================================================
ERROR,23 Jun 2010 11:15:35,948,[XL_INTG.OID],
ERROR,23 Jun 2010 11:15:35,948,[XL_INTG.OID],====================================================

ERROR,23 Jun 2010 11:15:35,949,[XL_INTG.OID],====================================================
ERROR,23 Jun 2010 11:15:35,949,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations : disconnectFromLDAP() : : Unable to close LDAP Context. The context was probably not created, since it is null
ERROR,23 Jun 2010 11:15:35,949,[XL_INTG.OID],====================================================

ERROR,23 Jun 2010 11:15:35,949,[XL_INTG.OID],====================================================
ERROR,23 Jun 2010 11:15:35,949,[XL_INTG.OID], ERROR in com.thortech.xl.integration.OID.tcUtilOIDUserOperations:createUser(S,S,S,S,S) NoInitialContextExceptionError while connecting to target
ERROR,23 Jun 2010 11:15:35,949,[XL_INTG.OID],====================================================

ERROR,23 Jun 2010 11:15:35,949,[XL_INTG.OID],====================================================
ERROR,23 Jun 2010 11:15:35,949,[XL_INTG.OID],com.thortech.xl.integration.OID.util.tcUtilLDAPOperations: Unable to close LDAP Context. The context was probably not created, since it is null
ERROR,23 Jun 2010 11:15:35,949,[XL_INTG.OID],====================================================


Ahh..too long, Can you please help resolving this. Thanks.
Nitin

Edited by: Nitin@S on Jun 23, 2010 12:49 PM
This post has been answered by SagarChoudhary on Jun 24 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2011
Added on Jun 22 2010
12 comments
1,547 views