March 2nd, 2012, 06:34 AM
Join Date: Mar 2012
Time spent in forums: 5 m 54 sec
Reputation Power: 0
We have a failover setup wherein we have multiple ldap servers.
When we ping to this particular hostname "thcg.net" then it returns the
IP address of the LDAP server currently being used.
If we configure the particular IP address as the hostname in our
application then we are able to connect to ldap successfully. But if we
configure "thcg.net" as the hostname then we are unable to connect. In
effect our application is not able use the functionality fail-over. The
ldap_simple_bind_s() API fails with error code as 91 and the error message
as "Can't connect to LDAP server'.