My Oracle Support Banner

DBMS_LDAP.bind_s to OID 10g Fails with ldap_bind: Invalid credentials (Doc ID 1286530.1)

Last updated on SEPTEMBER 11, 2019

Applies to:

Oracle Internet Directory - Version 9.0.4.2 to 10.1.4.3 [Release 10gR1 to 10gR3]
Information in this document applies to any platform.

Symptoms


DBMS_LDAP.bind_s Fails with error message:

   ldap_bind: Invalid credentials

This happens in the following scenario and steps to reproduce error:
  Create a plugin for simple bind by using DBMS_LDAP package and enable the plugin.

1) Create a user in OID by using ODM or OIDDAS and do an ldapbind to ensure bind is successful
2) ldapsearch user entry into ldif file
3) delete user account from OID
4) Add the same user back to OID with ldapadd command using ldif file generated in step 2.
5) ldapbind fails with error 49
: Invalid credentials


OID log shows the following :-
--------------------------------

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.