OID 11g DIP attempting to sync Users with objectclass=contact Which should be excluded "LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing"

(Doc ID 2410634.1)

Last updated on JUNE 13, 2018

Applies to:

Oracle Internet Directory - Version 11.1.1 and later
Information in this document applies to any platform.

Symptoms

Sync from AD to OID failing.

LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing

 

Example:

[2018-06-08T07:50:42.432-04:00] [wls_ods1] [ERROR] [DIP-10007] [oracle.dip.AD_TO_OID] [tid: AD_TO_OID] [userId: <anonymous>] [ecid: %ecid#] [APP: DIP#11.1.1.2.0] error in execution of Agent thread: AD_TO_OID[[
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.SchemaViolationException: [LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.]; remaining name 'cn=user1 test,ou=contacts,ou=HRusers,cn=users,dc=example,dc=com'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3098)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3013)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2820)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:791)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:183)
at oracle.ldap.odip.gsi.LDAPWriter.createEntry(LDAPWriter.java:1390)

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