My Oracle Support Banner

SSO Logins For AD Sync'd Users (Via External Authentication PL/SQL-Based Plugin) Stops Working With Error: Authentication Failed (Doc ID 1105802.1)

Last updated on SEPTEMBER 17, 2019

Applies to:

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


Two Oracle Internet Directory (OID) 10g instances where both synchronize with the same Active Directory (AD) system via Directory Integration Platform (DIP) sync processes, and authenticate via the PL/SQL-based external authentication plugin to AD.

Suddently, AD sync'd users Single Sign-On (SSO) logins fails with Authentication Failed message when going through one of the two OID systems, but it still works when it is directed to the other OID.

Only AD sync'd users fails; seeded users such as orcladmin and portal still work ok.

Command line ldapbind and ldapcompare tests vary in responses/errors, including showing strange/odd characters, for example:

ldapbind -h <OID_HOSTNAME1> -p <OID_PORT> -D "<user DN, i.e, cn=<USERNAME>,ou=users,dc=COMPANY>,dc=com>" -w <AD_PASSWORD_FOR_USER>
ldap_bind: UnKnown Error Encountered

ldap_bind: additional info: ┐┐►┐┐┐┐┐┐

ldapbind -h <OID_HOSTNAME1> -p <OID_PORT> -D "<user DN, i.e, cn=<USERNAME>,ou=users,dc=COMPANY>,dc=com>" -w <AD_PASSWORD_FOR_USER>
ldap_bind: Can't contact LDAP server

ldapbind -h <OID_HOSTNAME1> -p <OID_PORT> -D "<user DN, i.e, cn=<USERNAME>,ou=users,dc=COMPANY>,dc=com>" -w <AD_PASSWORD_FOR_USER>
bind successful

ldapcompare -h <OID_HOSTNAME1> -p <OID_PORT>-D cn=orcladmin -w <PASSWORD> -a userpassword -b "<user DN, i.e, cn=<USERNAME>,ou=users,dc=COMPANY>,dc=com>" -v <AD_PASSWORD_FOR_USER>
ldap_compare_s: UnKnown Error Encountered

ldap_compare_s: additional info: Server Plug-in OCI failure


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.