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 NOVEMBER 25, 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>] [ERROR] [] [oracle.iam.platform.<PROVIDER>.ldap] [tid: [ACTIVE].ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <USER>] [ecid: <ECID>] [APP: <OIM>] [DSID: xxxxx] 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: xx] [ecid: <ECID>] 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>...

 

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


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