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 MARCH 08, 2017

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.
***Checked for relevance on 02-Apr-2015***

Symptoms

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

[APP: DIP#11.1.1.2.0] [arg: cn=149054,cn=users,dc=us,dc=oracle,dc=com] Exception modi
fying entry : cn=149054,cn=users,dc=us,dc=oracle,dc=com.[[
javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Failed to find apfinanceempstatus in mandatory or
optional attribute list.]; Remaining name: 'cn=149054,cn=users,dc=us,dc=oracle,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:


objectclasses=( 1.2.3.4.5 NAME 'apFinancePerson' DESC 'Custom object class to store job related attributes synchronized from iPlanet' SUP inetOrgPerson


STRUCTURAL MAY ( apFinanceDivision $ apFinanceEmpStatus $ apFinanceFunction $ apFinanceJobCode $ apFinanceLeveler $ apFinanceRegion $ apFinanceTDate ) )


attributetypes=( 1.2.3.4.5.6 NAME 'apFinanceEmpStatus' DESC 'Application custom job related attribute' SYNTAX '1.3.6.1.4.1.1466.115.121.1.15{1}' USAGE userApplications )

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


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.