My Oracle Support Banner

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

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=<USERNAME>,cn=users,dc=<COMPANY>,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=<USERNAME>,cn=users,dc=<COMPANY>,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: [xxxxxxx]
Class: null Name: orclObjectSID Type: null ChgType: REPLACE Value:
[xxxxxxx]
Class: null Name: orclSourceObjectDN Type: null ChgType: REPLACE Value:
[cn=<USERNAME>,dc=<COMPANY>,dc=com]
Class: null Name: orclSAMAccountName Type: null ChgType: REPLACE Value: [<USERNAME>]
Class: null Name: orclUserPrincipalName Type: null ChgType: REPLACE Value:
[<USERNAME>@<COMPANY>.com]
Class: null Name: uid Type: null ChgType: REPLACE Value: [<UID>]
Class: null Name: krbPrincipalName Type: null ChgType: REPLACE Value:
[<USERNAME>@<COMPANY>.COM]
Class: null Name: givenName Type: null ChgType: REPLACE Value: [<GIVENNAME>]
Class: null Name: cn Type: null ChgType: REPLACE Value: [<USERNAME>]
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: [<USERNAME>@<COMPANY>.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=<USERNAME>,cn=users,dc=<COMPANY>,dc=com'
Snip-it 

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

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
References

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