DIP Synchronization fails with [LDAP: error code 65 - Failed to find dc / cn in mandatory or optional attribute list.]

(Doc ID 567635.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 10.1.2 to 11.1.1 [Release 10gR2 to 11g]
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

DIP synchronization of users from Active Directory (AD) to OID has been configured, to synchronize AD users from the multiple organizational units (OUs) under the AD domain to single OID users container cn=users,<DIT>.

Synchronization is failing. The ActiveChgImp.trc file shows errors:

....
Exception Modifying Entry : javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Failed to find dc in mandatory or optional attribute list.]; remaining name 'cn=users,dc=oracle,dc=com'
javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Failed to find dc in mandatory or optional attribute list.]; remaining name 'cn=users,dc=oracle,dc=com' 
   at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3019)
   at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
   at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2740)
   at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1440)
   at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:255)
   at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:172)
   at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:161)
   at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:146)
   at oracle.ldap.odip.gsi.LDAPWriter.checkNReplace(LDAPWriter.java:839)
   at oracle.ldap.odip.gsi.LDAPWriter.modifyRadd(LDAPWriter.java:717)
   at oracle.ldap.odip.gsi.LDAPWriter.writeChanges(LDAPWriter.java:310)
   at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:581)
   at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:306)
   at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:186)
[LDAP: error code 65 - Failed to find dc in mandatory or optional attribute list.]
Entry Not Found. Converting to an ADD op..
Processing Insert Operation ..
Performing createEntry..
Exception creating Entry : javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Failed to find cn in mandatory or optional attribute list.]; remaining name 'cn=users,dc=oracle,dc=com'
javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Failed to find cn in mandatory or optional attribute list.]; remaining name 'cn=users,dc=oracle,dc=com'
   at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3019)
   at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)
   at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2740)
   at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:777)
   at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
   at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
   at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)
   at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:176)
   at oracle.ldap.odip.gsi.LDAPWriter.createEntry(LDAPWriter.java:1031)
   at oracle.ldap.odip.gsi.LDAPWriter.insert(LDAPWriter.java:386)
   at oracle.ldap.odip.gsi.LDAPWriter.modifyRadd(LDAPWriter.java:725)
   at oracle.ldap.odip.gsi.LDAPWriter.writeChanges(LDAPWriter.java:310)
   at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:581)
   at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:306)
   at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:186)
DIP_LDAPWRITER_ERROR_CREATE
Error in executing mapping DIP_LDAPWRITER_ERROR_CREATE
DIP_LDAPWRITER_ERROR_CREATE
   at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:722)
   at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:306)
   at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:186)
DIP_LDAPWRITER_ERROR_CREATE
ActiveChgImp:Error in Mapping EngineDIP_LDAPWRITER_ERROR_CREATE
DIP_LDAPWRITER_ERROR_CREATE
   at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:741)
   at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:306)
   at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:186)
ActiveChgImp:about to Update exec status
Updated Attributes
orclodipLastExecutionTime: 20080501195933
orclodipConDirLastAppliedChgNum: 4337336
orclOdipSynchronizationStatus: Mapping Failure, Agent Execution Not Attempted
....

 

 

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