Added class ldap.ldapobject.ReconnectLDAPObject

Jens Vagelpohl jens at zope.com
Wed Aug 7 21:27:38 CEST 2002


i just tried running the Demo/reconnect script and it errs out because in 
line 7 it tries to call a method named "applyDefaults" on the ldap_url 
object, which does not have such a method...

jens


On Wednesday, August 7, 2002, at 11:40 , Michael Ströder wrote:

> 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