[python-ldap] Connect to multiple servers for failover

Prashant Bapat prashant at apigee.com
Mon Apr 20 11:17:27 CEST 2015


Hi,

Is there a way to connect to multiple servers for a query and iteratively
try all of them before failing ?

Can I do something like

ldap.initialize(srv1, srv2, srv3) and it connects to srv2 if srv1 is down
etc

Is this possible ?

Thanks.
--Prashant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20150420/0bb6d80f/attachment.html>


More information about the python-ldap mailing list