"LDAP: error code 20 - pwdaccountlockedtime attribute has duplicate value" Trying to Lock a User in Oracle Identity Manager (Doc ID 1952992.1)

Last updated on SEPTEMBER 14, 2016

Applies to:

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

Symptoms

Oracle Identity Manager (OIM) integrated with Oracle Virtual Directory (OVD) or libOVD, and Oracle Internet Directory (OID) as the backend LDAP server.

Trying to lock an user in Oracle Identity Manager (OIM), the following error is reported in Oracle Identity Self Service:

IAM-3050166 : An error occurred while performing lock user operation. Can't find resource for bundle java.util.PropertyResourceBundle, key IAM-3050042

The following error is reported in OIM log files:

LDAP Error 20 : [LDAP: error code 20 - pwdaccountlockedtime attribute has duplicate value.] [Root exception is oracle.ods.virtualization.service.VirtualizationException: oracle.ods.virtualization.engine.util.DirectoryException: LDAP Error 20 : [LDAP: error code 20 - pwdaccountlockedtime attribute has duplicate value.]]
at oracle.ods.virtualization.jndi.OVDUtil.mapErrorCode(OVDUtil.java:197)
at oracle.ods.virtualization.jndi.OVDContext.modifyAttributes(OVDContext.java:681)
at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:153)
at oracle.iam.platform.entitymgr.provider.ldap.LDAPUtil.modifyAttributes(LDAPUtil.java:1151)
at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.lockEntity(LDAPDataProvider.java:1511)
at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.lock(LDAPDataProvider.java:1492)
at oracle.iam.ldapsync.impl.eventhandlers.user.util.LDAPUserHandlerUtil.lockUser(LDAPUserHandlerUtil.java:233)
at oracle.iam.ldapsync.impl.eventhandlers.user.UserLockLDAPHandler.execute(UserLockLDAPHandler.java:152)

 

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