My Oracle Support Banner

OVD 11g Performance Issue When OVD Receives Err=53, Where an Account is Locked in the Backend Directory | OVD Closes the Connection When LDAP Backend Responds with LDAP error code 53 (Doc ID 1548070.1)

Last updated on APRIL 19, 2021

Applies to:

Oracle Virtual Directory - Version 11.1.1.6.0 to 11.1.1.7.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

Oracle Virtual Directory (OVD) 11g, i.e. 11.1.1.6 or 11.1.1.7, experiencing performance degradation when an err=53 (LDAP error code 53) occurs where an account is locked in the backend directory (e.g., ODSEE 11g).

Or, for example, where OVD with Oracle Internet Directory (OID) as the primary directory and Active Directory (AD) as read only - When a user authenticates with a locked account in OID, it disconnects the bind between OVD and OID for up to 10 seconds.

 

Sample access.log entry:

[2016-01-04T10:28:16.735-08:00] [octetstring] [NOTIFICATION] [OVD-20038] [com.octetstring.accesslog] [tid: xxx] [ecid: <ECID>] conn=1,132,536 op=11 BIND dn=uid=<USERNAME>,ou=people,dc=<COMPANY_NAME>,dc=com method=0 version=3
...
[2016-01-04T10:28:26.749-08:00] [octetstring] [NOTIFICATION] [OVD-20039] [com.octetstring.accesslog] [tid: xxx] [ecid: <ECID>] conn=1,132,536 op=11 RESULT err=53 tag=0 nentries=0 etime={3}

Sample diagnostic.log entry:

[2016-01-04T10:28:26.746-08:00] [octetstring] [ERROR] [OVD-60143] [com.octetstring.vde.backend.jndi.MyAdapter.BackendJNDI] [tid: xxx] [ecid: <ECID>] [#<ADAPTER_NAME>] Unable to create connection to ldap://[<LDAP_HOSTNAME>]:1389 as uid=<USERNAME>,ou=people,dc=<COMPANY_NAME>,dc=com.[[
javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Account inactivated. Contact system administrator.]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3160)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2835)
...<etc>...
]]
[2016-01-04T10:28:26.748-08:00] [octetstring] [ERROR] [OVD-60060] [com.octetstring.vde.operation.BindOperation] [tid: xxx] [ecid: <ECID>] An error occurred.[[
com.octetstring.vde.util.DirectoryException: LDAP Error 53 : [LDAP: error code 53 - Account inactivated. Contact system administrator.]
at com.octetstring.vde.backend.jndi.BackendJNDI.getLDAPContext(BackendJNDI.java:1074)
at com.octetstring.vde.backend.jndi.BackendJNDI.getConnection(BackendJNDI.java:952)
at com.octetstring.vde.backend.jndi.ConnectionHandle.getHolder(ConnectionHandle.java:425)
...<etc>...
Caused by: javax.naming.OperationNotSupportedException: [LDAP: error code 53 - Account inactivated. Contact system administrator.]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3160)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2835)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2749)
at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2648)
at com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2622)
at com.sun.jndi.ldap.LdapCtx.reconnect(LdapCtx.java:2618)
at javax.naming.ldap.InitialLdapContext.reconnect(InitialLdapContext.java:192)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.rebind(JNDIConnectionPool.java:391)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.getLdapContext(JNDIConnectionPool.java:251)
at com.octetstring.vde.backend.jndi.JNDIConnectionPool.checkOutContext(JNDIConnectionPool.java:181)
at com.octetstring.vde.backend.jndi.BackendJNDI.getLDAPContext(BackendJNDI.java:1051)
... 26 more

]]

 

Changes

 

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
Changes
Cause
Solution
References


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