On Thu, 19 Jul 2007, Howard Chu wrote:
What I am seeing is a timeout of a minute before switching to Server2.
That would be normal when trying to contact a nonexistent host, and
depends entirely on your kernel's TCP stack/connection timeouts. As
already noted, you can explicitly set a shorter timeout using
LDAP_OPT_NETWORK_TIMEOUT.
Which I've now built into our applications, as OpenLDAP itself would
appear to have no support for this situation. I suppose I should
contribute a patch or something, along the lines of "CONN_TIMEOUT 5" etc.