My Oracle Support Banner

OUD Returns Error Code 49 (Invalid Credentials) Instead of Error Code 52 (Exceed password retry limit. Account locked) When Account is Locked Out (Doc ID 2109044.1)

Last updated on MAY 14, 2021

Applies to:

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


Oracle Unified Directory (OUD).

When an account is locked out in OUD due to password policy and too many failed attempts, error code 49 (Invalid Credentials) is returned when LDAP return code 52 should actually be returned (Exceed password retry limit. Account locked).

In comparison, other LDAP servers, return error code 52, but in OUD error code 49 is returned.

Steps to reproduce:
1. Bind to OUD with the wrong password until the account is locked.
2. Submit an ldap operation with the correct password, and it returns error code 49 (Invalid Credentials) instead of error code 52 (Exceed password retry limit. Account lock)

Examples with OUD:



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.