We're using C SDK 5.17 and it appears the ability to pass in multiple DS host names for "automatic" failover does not work. We have two LDAP servers, ns001 and ns002, fully replicated, and we pass these in as a string to ldapssl_init(), so our apps always connect to the first host in the list. Recently ns001 crashed, and none of our apps automatically re-connected to ns002 when they tried to do searches, deletes, etc. We have all our API calls wrapped in logic that detects LDAP_SERVER_DOWN and LDAP_CONNECT_ERROR returns, and rdoes the sasl_bind call if it needs to. We do not re-new or re-init the LDAP* object in these cases; perhaps this is related.
I was curious if anyone has had success with failover in the C SDK or has any insights to why it may not work. Thanks, Mike _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
