My Oracle Support Banner

When Attempting to Log In with a LDAP Authentication Scheme on APEX, it Fails With Error: ORA-31204: DBMS_LDAP: PL/SQL - Invalid LDAP Session (Doc ID 2785215.1)

Last updated on JUNE 30, 2021

Applies to:

Oracle Application Express (APEX) - Version 20.1 and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

When attempting to authenticate with LDAP authentication scheme, the following error occurs.

ERROR
-----------------------
ORA-31204: DBMS_LDAP: PL/SQL - Invalid LDAP Session.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create an authentication scheme of type LDAP Directory
2. Specify host, port, username. No SSL
3. Press "Test Login" button
4. Error message appears

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
 Granting Connect Privileges in Oracle Database 12c or Later
References


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