OID 10g DIP Sync Fails For OID Mandatory Attribute: [LDAP: error code 65 - <attribute_name> attribute not found. Mandatory Attribute missing.] (Doc ID 743385.1)

Last updated on JUNE 30, 2017

Applies to:

Oracle Internet Directory - Version 9.0.4.2 to 10.1.4.3 [Release 10gR1 to 10gR3]
Information in this document applies to any platform.

Symptoms

Oracle Internet Directory (OID) Directory Integration Platform (DIP) Import sync fails for OID mandatory attribute with trace file error:

javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - <attribute_name> attribute not found. Mandatory Attribute missing.]; remaining name 'cn=user1,cn=users,dc=mycompany,dc=com'

 

In the example trace file below, the error occurs for the SN attribute, however the profile's mapping has been verified to have a mapping for SN, and also the source Directory entry contains an SN value:

MAPPING : Dst Change Record : ChangeRecord : ----------
Changetype: ADDRMODIFY
ChangeKey: cn=user1,cn=users,dc=mycompany,dc=com
Attributes:
Class: null Name: objectclass Type: null ChgType: REPLACE Value: [inetorgperson,
organizationalperson, person, orcluserv2, orcladuser, orcladobject]
Class: null Name: orclobjectguid Type: null ChgType: REPLACE Value: [Zs9fe7etUUSZRWBcNhyhjQ==]
Class: null Name: orclObjectSID Type: null ChgType: REPLACE Value:
[AQUAAAAAAAUVAAAAAb3IGThdQbNBnkB8BwgAAA==]
Class: null Name: orclSourceObjectDN Type: null ChgType: REPLACE Value:
[CN=user1,dc=mycompany,dc=com]
Class: null Name: orclSAMAccountName Type: null ChgType: REPLACE Value: [user1]
Class: null Name: orclUserPrincipalName Type: null ChgType: REPLACE Value:
[user1@mycompany.com]
Class: null Name: uid Type: null ChgType: REPLACE Value: [user1]
Class: null Name: krbPrincipalName Type: null ChgType: REPLACE Value:
[user1@MYCOMPANY.COM]
Class: null Name: givenName Type: null ChgType: REPLACE Value: [user1]
Class: null Name: cn Type: null ChgType: REPLACE Value: [user1]
Class: null Name: departmentNumber Type: null ChgType: DELETE Value: [ ]
Class: null Name: physicalDeliveryOfficeName Type: null ChgType: DELETE Value: [ ]
Class: null Name: manager Type: null ChgType: DELETE Value: [ ]
Class: null Name: title Type: null ChgType: DELETE Value: [ ]
Class: null Name: c Type: null ChgType: DELETE Value: [ ]
Class: null Name: facsimileTelephoneNumber Type: null ChgType: DELETE Value: [ ]
Class: null Name: HomePhone Type: null ChgType: DELETE Value: [ ]
Class: null Name: postalCode Type: null ChgType: DELETE Value: [ ]
Class: null Name: st Type: null ChgType: DELETE Value: [ ]
Class: null Name: street Type: null ChgType: DELETE Value: [ ]
Class: null Name: telephonenumber Type: null ChgType: DELETE Value: [ ]
Class: null Name: l Type: null ChgType: DELETE Value: [ ]
Class: null Name: employeeNumber Type: null ChgType: DELETE Value: [ ]
Class: null Name: mail Type: null ChgType: REPLACE Value: [user1@mycompany.com]
Class: null Name: mobile Type: null ChgType: DELETE Value: [ ]
Class: null Name: newsupdn Type: null ChgType: DELETE Value: [ ]
javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - sn attribute not found.
Mandatory Attribute missing.]; remaining name
'cn=user1,cn=users,dc=mycompany,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:1162)
at oracle.ldap.odip.gsi.LDAPWriter.insert(LDAPWriter.java:425)
at oracle.ldap.odip.gsi.LDAPWriter.modifyRadd(LDAPWriter.java:822)
at oracle.ldap.odip.gsi.LDAPWriter.writeChanges(LDAPWriter.java:349)
at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:655)
at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:376)
at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:237)
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:819)
at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:376)
at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:237)
DIP_LDAPWRITER_ERROR_CREATE
Setting Change Success Count : 2
Setting Change Failure Count : 8059
ActiveChgImpUsers:Error in Mapping EngineDIP_LDAPWRITER_ERROR_CREATE
DIP_LDAPWRITER_ERROR_CREATE
at oracle.ldap.odip.engine.AgentThread.mapExecute(AgentThread.java:840)
at oracle.ldap.odip.engine.AgentThread.execMapping(AgentThread.java:376)
at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:237)
ActiveChgImpUsers:about to Update exec status
Updated Attributes
orclodipLastExecutionTime: 20081014102717
orclodipConDirLastAppliedChgNum: 725270
orclOdipSynchronizationStatus: Mapping Failure, Agent Execution Not Attempted
orclOdipSynchronizationErrors: Sleeping for 1secs

Changes

 

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