My Oracle Support Banner

How To Escape Special Characters In Username When Called Dbms_ldap.simple_bind_s (Doc ID 2940778.1)

Last updated on APRIL 07, 2023

Applies to:

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

Symptoms

When the DN has special characters, ie:  "," ,  "=", "\", etc, when dbms_ldap.simple_bind_s will return an error:

ORA-31202: DBMS_LDAP: LDAP client/server error: Invalid credentials

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


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