My Oracle Support Banner

OID/DIP Ldap: Error Code 65 - Failed to find <name> in mandatory or optional attribute list. (Doc ID 1277402.1)

Last updated on AUGUST 30, 2023

Applies to:

Oracle Internet Directory - Version 9.0.4 to 11.1.1 [Release 10gR1 to 11g]
Information in this document applies to any platform.

Symptoms

After enabling SYNC on a new Profile the following error is shown in the DIP log file:

[CUSTOMP: DIP#11.1.1.2.0] [arg: cn=<USERNAME>,cn=users,dc=<COMPANY>,dc=com] Exception modi
fying entry : cn=<USERNAME>,cn=users,dc=<COMPANY>,dc=com.[[
javax.naming.directory.SchemaViolationException: [LDaP: error code 65 - Failed to find CUSTOMfinanceempstatus in mandatory or
optional attribute list.]; Remaining name: 'cn=<USERNAME>,cn=users,dc=<COMPANY>,dc=com'
at com.sun.jndi.ldap.ldapCtx.mapErrorCode(ldapCtx.java:3084)
at com.sun.jndi.ldap.ldapCtx.processReturnCode(ldapCtx.java:2999)
at com.sun.jndi.ldap.ldapCtx.processReturnCode(ldapCtx.java:2806)
at com.sun.jndi.ldap.ldapCtx.c_modifyAttributes(ldapCtx.java:1467)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:267)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:184)
at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:178)
at oracle.ldap.odip.gsi.ldapWriter.modify(ldapWriter.java:512)
at oracle.ldap.odip.gsi.ldapWriter.writeChanges(ldapWriter.java:345)
at oracle.ldap.odip.web.DIPSyncBean.mapExecute(DIPSyncBean.java:748)
at oracle.ldap.odip.web.DIPSyncBean.execMapping(DIPSyncBean.java:477)
at oracle.ldap.odip.web.DIPSyncBean.doOneIteration(DIPSyncBean.java:355)
at oracle.ldap.odip.web.DIPSync_2r3ocw_EOImpl.doOneIteration(DIPSync_2r3ocw_EOImpl.java:65)
at oracle.ldap.odip.web.SyncQuartzJobImpl.execute(SyncQuartzJobImpl.java:178)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)


At 11g this error will be shown in the wls-diagnostic.log.

At 10g this error will be shown in the <profilename>.trc file.

Changes

Custom ObjectClass and Attributes created as follows:


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


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