My Oracle Support Banner

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 MAY 06, 2021

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.<PROFILE_NAME>] [tid: <PROFILE_NAME>] [userId: <anonymous>] [ecid: <ECID>] [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.<PROFILE_NAME>] [tid: oracle.ldap.odip.web.DIPSyncWriterThread] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Exception creating entry : cn=<USERNAME>,cn=<CUSTOM_CONTAINER>,cn=users,dc=<COMPANY>,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: <ECID>] [APP: DIP#11.1.1.2.0]
[2014-12-01T08:11:47.885-05:00] [wls_ods1] [ERROR] [DIP-10007] [oracle.dip.<PROFILE_NAME>] [tid: <PROFILE_NAME>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] error in execution of Agent thread: <PROFILE_NAME>[[
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=<USERNAME>,cn=<CUSTOM_CONTAINER>,cn=users,dc=<COMPANY>,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.<PROFILE_NAME>] [tid: <PROFILE_NAME>] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] error in mapping engine <PROFILE_NAME> .
[2014-12-01T08:11:48.315-05:00] [wls_ods1] [ERROR] [DIP-10219] [oracle.dip.<PROFILE_NAME>] [tid: oracle.ldap.odip.web.DIPSyncWriterThread] [userId: <anonymous>] [ecid: <ECID>] [APP: DIP#11.1.1.2.0] Exception creating entry : cn=<USERNAME>,cn=<CUSTOM_CONTAINER>,cn=users,dc=<COMPANY>,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: <ECID>] [APP: DIP#11.1.1.2.0]



Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.