Error in ldapsearch??

Michael Ströder michael at stroeder.com
Wed Dec 10 10:37:29 CET 2003


Christian Klinger wrote:
> Michael Ströder wrote:
> 
>>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
>>application.
> 
> I'm using OpenLdap 
> Do you know the name of the parameter which i must configure!
> I see nothing in the OpenLdap -log file!

Well, man slapd.conf reveals that parameters 'idletimeout' and 'limits' 
looks promising. This is off-topic here. openldap-software at openldap.org is 
the forum to ask details about this.

 >>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.

Anyway ldap.ldapobject.ReconnectLDAPObject is the proper way to deal with 
it. I released 2.0.0pre18 yesterday.

Ciao, Michael.



More information about the python-ldap mailing list