My Oracle Support Banner

"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 FEBRUARY 19, 2019

Applies to:

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


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(
at oracle.ods.virtualization.jndi.OVDContext.modifyAttributes(
at oracle.iam.platform.entitymgr.provider.ldap.LDAPUtil.modifyAttributes(
at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.lockEntity(
at oracle.iam.platform.entitymgr.provider.ldap.LDAPDataProvider.lock(
at oracle.iam.ldapsync.impl.eventhandlers.user.util.LDAPUserHandlerUtil.lockUser(
at oracle.iam.ldapsync.impl.eventhandlers.user.UserLockLDAPHandler.execute(



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

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