|
From: Jens V. <je...@zo...> - 2002-08-07 19:28:00
|
i just tried running the Demo/reconnect script and it errs out because = in=20 line 7 it tries to call a method named "applyDefaults" on the ldap_url=20= object, which does not have such a method... jens On Wednesday, August 7, 2002, at 11:40 , Michael Str=F6der 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. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Python-LDAP-dev mailing list > Pyt...@li... > https://lists.sourceforge.net/lists/listinfo/python-ldap-dev |