My Oracle Support Banner

After Configuring OIM LDAP Sync with OID/OVD 11g, User Creation Fails with Error: [LDAP: error code 65 - Failed to find orclaccountlocked in mandatory or optional attribute list.] (Doc ID 2177991.1)

Last updated on MAY 01, 2019

Applies to:

Oracle Virtual Directory - Version 11.1.1.0 and later
Identity Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

Oracle Identity Manager (OIM) configured for LDAPSync with Oracle Virtual Directory (OVD) and Oracle Internet Directory (OID) 11g.

User adapter in OVD was created for backend LDAP Server OID.

Creating a new user in OIM fails.

OIM Server diagnostic log shows the following error:

[oim_server1] [ERROR] [] [oracle.iam.platform.entitymgr.provider.ldap] [tid: [ACTIVE].ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 0001Wy_ADLsD^aPsycnJ9k0001sG0000E6,0:2] [APP: oim#11.1.2.0.0] [DSID: 0000LNzME_cDScPsyciOPk1NZHmn00000H] An error occurred while creating the entity in LDAP, and the corresponding error is - {0}[[

javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - LDAP Error 65 : [LDAP: error code 65 - Failed to find orclaccountlocked in mandatory or optional attribute list.]]; remaining name 'cn=xxxx,cn=xxxx,o=xxxx'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3119)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3034)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2841)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:812)
at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:337)
at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:266)
at javax.naming.directory.InitialDirContext.createSubcontext(InitialDirContext.java:202)
...<etc>...

OVD diagnostic log shows the following error:

[octetstring] [WARNING] [OVD-40077] [com.octetstring.vde.backend.jndi.ConnectionHandle] [tid: 45] [ecid: 0000LPBUKzfDKePsycjO9k1NcA4y00000d,0] Could not add entry.[[
javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Failed to find orclaccountlocked in mandatory or optional attribute list.]; remaining name 'cn=xxxx,cn=xxxx,o=xxxx'
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3118)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840)
at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:811)
...<etc>...

 

Changes

 

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.