AD to OID Bootstrap or Sync Fails with Log Error: ODIException: Error Creating Entry in Directory | javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - Attribute orclobjectsid is single valued.]; remaining name '<user DN>' (Doc ID 1949969.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 9.0.4 to 11.1.1 [Release 10gR1 to 11g]
Information in this document applies to any platform.

Symptoms

Oracle Internet Directory (OID) 10g or 11g with Directory Integration Platform (DIP) from Microsoft (MS) Active Directory (AD) to OID synchronization.

Importing AD users to OID is failing using DIP tool (e.g., 11g syncProfileBootstrap).  DIP 11g log shows:

[2014-12-01T08:11:47.319-05:00] [wls_ods1] [ERROR] [DIP-10008] [oracle.dip.AD2OID] [tid: AD2OID] [userId: <anonymous>] [ecid: 0000KZlIvXtDkZsqwgFg6G1KDPHX000002,0] [APP: DIP#11.1.1.2.0] error in mapping engine AD2OID .
[2014-12-01T08:11:47.746-05:00] [wls_ods1] [ERROR] [DIP-10219] [oracle.dip.AD2OID] [tid: oracle.ldap.odip.web.DIPSyncWriterThread] [userId: <anonymous>] [ecid: 0000KZlIvXtDkZsqwgFg6G1KDPHX000002,1:84909] [APP: DIP#11.1.1.2.0] Exception creating entry : cn=myuser1,cn=adusers,cn=users,dc=mycompany,dc=com.
[2014-12-01T08:11:47.747-05:00] [wls_ods1] [NOTIFICATION] [EVENT_NOT_ENABLED] [oracle.dip] [tid: oracle.ldap.odip.web.DIPSyncWriterThread] [userId: <anonymous>] [ecid: 0000KZlIvXtDkZsqwgFg6G1KDPHX000002,1:84909] [APP: DIP#11.1.1.2.0]
[2014-12-01T08:11:47.885-05:00] [wls_ods1] [ERROR] [DIP-10007] [oracle.dip.AD2OID] [tid: AD2OID] [userId: <anonymous>] [ecid: 0000KZlIvXtDkZsqwgFg6G1KDPHX000002,0] [APP: DIP#11.1.1.2.0] error in execution of Agent thread: AD2OID[[
ODIException: Error Creating Entry in Directory
at oracle.ldap.odip.gsi.LDAPWriter.createEntry(LDAPWriter.java:1425)
at oracle.ldap.odip.gsi.LDAPWriter.insert(LDAPWriter.java:516)
at oracle.ldap.odip.gsi.LDAPWriter.modifyRadd(LDAPWriter.java:958)
at oracle.ldap.odip.gsi.LDAPWriter.performWriteChanges(LDAPWriter.java:438)
at oracle.ldap.odip.gsi.LDAPWriter.writeChanges(LDAPWriter.java:268)
at oracle.ldap.odip.web.DIPSyncWriterThread.run(DIPSyncWriterThread.java:71)
Caused by: javax.naming.directory.AttributeInUseException: [LDAP: error code 20 - Attribute orclobjectsid is single valued.]; remaining name 'cn=myuser1,cn=adusers,cn=users,dc=mycompany,dc=com'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3071)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:811)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:337)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:266)
at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:202)
at oracle.ldap.odip.gsi.LDAPWriter.createEntry(LDAPWriter.java:1390)
... 5 more

]]
[2014-12-01T08:11:47.889-05:00] [wls_ods1] [ERROR] [DIP-10008] [oracle.dip.AD2OID] [tid: AD2OID] [userId: <anonymous>] [ecid: 0000KZlIvXtDkZsqwgFg6G1KDPHX000002,0] [APP: DIP#11.1.1.2.0] error in mapping engine AD2OID .
[2014-12-01T08:11:48.315-05:00] [wls_ods1] [ERROR] [DIP-10219] [oracle.dip.AD2OID] [tid: oracle.ldap.odip.web.DIPSyncWriterThread] [userId: <anonymous>] [ecid: 0000KZlIvXtDkZsqwgFg6G1KDPHX000002,1:84910] [APP: DIP#11.1.1.2.0] Exception creating entry : cn=myuser1,cn=adusers,cn=users,dc=mycompany,dc=com.
[2014-12-01T08:11:48.316-05:00] [wls_ods1] [NOTIFICATION] [EVENT_NOT_ENABLED] [oracle.dip] [tid: oracle.ldap.odip.web.DIPSyncWriterThread] [userId: <anonymous>] [ecid: 0000KZlIvXtDkZsqwgFg6G1KDPHX000002,1:84910] [APP: DIP#11.1.1.2.0]



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms