|
From: Jens V. <je...@da...> - 2005-10-12 16:46:48
|
On 12 Oct 2005, at 17:42, Michele Marcionelli wrote: >>> Can someone help me? >>> >> >> Not without doing what I asked you to do: Find out what invocation >> and query caused the problem. Reduce it to a simple test case that >> provokes the problem. >> > > I don't know if there is a specific query that causes the problem. > > - I start zope: everything work fine > - Nobody access the Server > - Wait... let say... one hour > - and I can't login as ldap-user anymore... > - in the logfile appears the "NULL result without error in > PyObject_Call" message > > Is that maybe a timeout/connection problem? You improved something > like that in the 2.3 or 2.4 Version of LDAPUserFolder. No, this is not a timeout problem. If it was, then the exception returned by the server would tell you so. Instrument the code in the LDAPUserFolder so it writes out queries to a file, for example. You just want to find out what the last queries are before things go wrong. The goal is to take the LDAPUserFolder out of the equation and provoke this behavior with just python-ldap. jens |