My Oracle Support Banner

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.


Sync from AD to OID failing.

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



[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#] error in execution of Agent thread: AD_TO_OID[[
ODIException: Error Creating Entry in Directory
at oracle.ldap.odip.gsi.LDAPWriter.createEntry(
at oracle.ldap.odip.gsi.LDAPWriter.insert(
at oracle.ldap.odip.gsi.LDAPWriter.modifyRadd(
at oracle.ldap.odip.gsi.LDAPWriter.performWriteChanges(
at oracle.ldap.odip.gsi.LDAPWriter.writeChanges(
Caused by: [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(
at com.sun.jndi.ldap.LdapCtx.processReturnCode(
at com.sun.jndi.ldap.LdapCtx.processReturnCode(
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(
at oracle.ldap.odip.gsi.LDAPWriter.createEntry(


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

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