Added class ldap.ldapobject.ReconnectLDAPObject

Michael Ströder michael at stroeder.com
Wed Aug 7 17:40:01 CEST 2002


HI!

I've added the class ldap.ldapobject.ReconnectLDAPObject. See the
__doc__ string of recently checked in source:

"""
In case of server failure (ldap.SERVER_DOWN) the implementations
of all synchronous operation methods (search_s() etc.) are doing
an automatic reconnect and rebind and will retry the very same
operation.

This is very handy for broken LDAP server implementations
(e.g. in Lotus Domino) which drop connections very often making
it impossible to have a long-lasting control flow in the
application.
"""

See Demo/reconnect.py how to deploy it.

Please bring your CVS working tree in sync, review and test.
Your feedback is appreciated!

Ciao, Michael.






More information about the python-ldap mailing list