From: <mi...@st...> - 2003-12-09 19:44:00
|
Klinger Christian wrote: >=20 > The Problem: > I make some LDAP Queries (Zope External Method) over a large network! > Sometimes i got a "good" result but sometimes i got the error=20 > "Can=B4t contact LDAP-Server"! Probably the LDAP servers limits the time span your LDAP connection is valid and drops the connection. You have to deal with that in your applic= ation. ldap.ldapobject.ReconnectLDAPObject is probably what you're looking for. Note that I screwed up a module import in ReconnectLDAPObject in current 2.0.0pre17. Use upcoming 2.0.0pre18 instead. Ciao, Michael. |