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***


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

[APP: DIP#] [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.[[ [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(
at com.sun.jndi.ldap.LdapCtx.processReturnCode(
at com.sun.jndi.ldap.LdapCtx.processReturnCode(
at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(
at oracle.ldap.odip.gsi.LDAPWriter.modify(
at oracle.ldap.odip.gsi.LDAPWriter.writeChanges(
at oracle.ldap.odip.web.DIPSyncBean.mapExecute(
at oracle.ldap.odip.web.DIPSyncBean.execMapping(
at oracle.ldap.odip.web.DIPSyncBean.doOneIteration(
at oracle.ldap.odip.web.DIPSync_2r3ocw_EOImpl.doOneIteration(
at oracle.ldap.odip.web.SyncQuartzJobImpl.execute(
at org.quartz.simpl.SimpleThreadPool$

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

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


Custom ObjectClass and Attributes created as follows:

objectclasses=( 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=( NAME 'apFinanceEmpStatus' DESC 'Application custom job related attribute' SYNTAX '{1}' USAGE userApplications )


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

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.