My Oracle Support Banner

Getting 'ldap_bind: Invalid Credentials' When Connecting To LDAP Host Using TLS 1.2 Protocol (Doc ID 2521031.1)

Last updated on MARCH 06, 2023

Applies to:

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


On : version

1. OID 11g sync with Active Directory

2. OID Java External Authentication plugin setup in OID as documented on:

How to Configure or Setup Java External Authentication Plugins in OID 11g (Doc ID 1270329.1)

3. Enable TLS 1.2 in the Active Directory server.

4. Review suggestions from next doc id but not help:

OID Java Based External Authentication Plugin to AD Bind/Compare Fails with: ldap_bind: Invalid credentials (Doc ID 2067771.1)

5. Testing ldapbind to AD server directly works fine. 

FYI. Successful ldapbind  connecting directly to the LDAP VIP but using the OID server it fails.

$ ldapbind -h <ACTIVE_DIRECTORY_SERVERNAME> -p <AD_SSL_port> -U 2 -D "<USERID_AD_SERVER>@<AC_DOMAIN> -w -W file://tmp/adwallet -P
bind successful

6. Testing ldapbind using OID serve fails with "Invalid credentials" message

ldap_bind: Invalid credentials

Enable TLS 1.2 in the third party ldap server. On this case Active Directory server.


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.