My Oracle Support Banner

OID/DIP Sync Log Error: [LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.] (Doc ID 438209.1)

Last updated on OCTOBER 12, 2020

Applies to:

Oracle Internet Directory - Version 9.0.4 to 12.2.1.4.0 [Release 10gR1 to 12c]
Information in this document applies to any platform.

Symptoms

Synchronization of users from Active Directory to OID is failing

Profile trace shows the following errors.

OID 11g/12c DIP log example:

[2016-01-13T16:22:54.337-06:00] [wls_ods1] [ERROR] [DIP-10007] [oracle.dip.<PROFILE>] [tid: <PROFILE>] [userId: <anonymous>] [ecid: ] [APP: DIP#11.1.1.2.0] error in execution of Agent thread: <PROFILE>[[
ODIException: Error Creating Entry in Directory
at oracle.ldap.odip.gsi.LDAPWriter.createEntry(LDAPWriter.java:1400)
at oracle.ldap.odip.gsi.LDAPWriter.insert(LDAPWriter.java:501)
at oracle.ldap.odip.gsi.LDAPWriter.modifyRadd(LDAPWriter.java:938)
at oracle.ldap.odip.gsi.LDAPWriter.performWriteChanges(LDAPWriter.java:422)
at oracle.ldap.odip.gsi.LDAPWriter.writeChanges(LDAPWriter.java:256)
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>,cn=users,dc=<COMPANY>,dc=com'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3118)
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:1365)
... 5 more

OID 10g DIP log example:

Exception creating Entry : javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.]; remaining name 'cn=<USERNAME>,cn=users,dc=<COMPANY>,dc=com'
[LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.]
javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.]; remaining name 'cn=<USERNAME>,cn=users,dc=<COMPANY>,dc=com
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2934)

 

Changes

 

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
Changes
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.