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 OCTOBER 13, 2019

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.<PROFILE_NAME>] [tid: <TID>] [userId: <USERNAME>>] [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.SchemaViolationException: [LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.]; remaining name 'cn=<USERNAME>,ou=contacts,ou=HRusers,cn=users,dc=<COMPANY>,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

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


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