After Removing Second LDAP Server From OVD Adapter, OVD Attempts To Connect To It Using Non-SSL Which Fails With Log Errors: [LDAP: error code 10 - Referral] / simple bind failed: [secondhost:nonsslport] / Unrecognized SSL message, plaintext connection?
(Doc ID 1540700.1)
Last updated on APRIL 06, 2021
Applies to:Oracle Virtual Directory - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
Oracle Virtual Directory (OVD) 11g, e.g., 188.8.131.52.0 integrated with Oracle Identity Manager (OIM).
Originally only had Oracle Virtual Directory (OVD) configured to communicate with one LDAP server (i.e., Oracle Directory Server Enterprise Edition or ODSEE 11GR1) via SSL, which had been working fine. Recently added a second ODSEE LDAP server, and also configured them for replication. Added the second ODSEE LDAP server to the OVD Adapter as a second host, and set a weight value of 50 on the 1st LDAP and a weight value of 50 on the 2nd LDAP. The failover mode was set to distributed.
This worked fine until attempted to create user objects in OIM, which failed with OIM log error:
javax.naming.NameNotFoundException: [LDAP: error code 32 - LDAP Error 32 : [LDAP: error code 32 - No Such Object]]; remaining name 'uid=<USERNAME>,ou=people,ou=<OU>,dc=<COMPANY>,dc=com'^M
Tried to remove the second LDAP from the OVD Adapter, but when trying to bring the second LDAP server up, OVD keeps attempting to connect to it over non-SSL, which fails with the OVD diagnostic.log error below (the error is expected because the non-ssl port is not open):
com.sun.jndi.ldap.LdapReferralException: [LDAP: error code 10 - Referral]; remaining name 'uid=<USERNAME>,ou=people,ou=<OU>,dc=<COMPANY>,dc=com'
javax.naming.CommunicationException: simple bind failed: <ODSEE_HOSTNAME2>:<PORT> [Root exception is javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?]
This also causes OIM to become unresponsive and the whole integration becomes unusable.
- Restarting the OVD Server and the entire WLS stack.
- Checked that no open connections returned from issuing commands: netstat -an | grep <ODSEE_HOSTNAME2>, netstat -an | grep <
- Verified there was no occurrence of the second hostname, IP address or port number <PORT> in any of the OVD config files.
- Also verified that no occurrence of the hostname, IP or port returned by traversing the entire FMW_Home directories, i.e., grep -R <ODSEE_HOSTNAME2> *, and only log entries returned.
Leave the second LDAP instance, however this is not acceptable as it is needed for HA/failover purposes.
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