Creating User in OIM Fails When EUS is Enabled: IAM-3010004 | 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.] (Doc ID 2174644.1)

Last updated on MARCH 08, 2017

Applies to:

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

Symptoms

Creating a user in Oracle Identity Manager (OIM), with ldapsync enabled with Oracle Internet Directory (OID) and Oracle Virtual Directory (OVD) 11g and Enterprise User Security (EUS) eenabled).

The user creation fails with:

IAM-3010004 : An error occurred while deleting LDAP user in the compensate stage.
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=user1,cn=Users,dc=mycompany,dc=com'
  at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3119)

OVD log shows:

[2016-07-07T13:41:41.361-04:00] [octetstring] [ERROR] [OVD-40077] [com.octetstring.vde.operation.AddOperation] [tid: 36] [ecid: 0000LN6Sqpf76EH5qvL6iY1NVcAA00006T,0] Could not add entry.[[
com.octetstring.vde.util.DirectoryException: LDAP Error 65 : [LDAP: error code 65 - Failed to find orclaccountlocked in mandatory or optional attribute list.]
       at com.octetstring.vde.backend.jndi.ConnectionHandle.handleError(ConnectionHandle.java:456)
       at com.octetstring.vde.backend.jndi.ConnectionHandle.createSubcontext(ConnectionHandle.java:170)

Caused by: javax.naming.directory.SchemaViolationException: [LDAP: error code 65 - Failed to find orclaccountlocked in mandatory or optional attribute list.]; remaining name 'cn=user1,cn=Users,dc=mycompany,dc=com'
       at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3118)
       at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)

 

The user creation works fine when the EUS adapters are disabled and not active.

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms