michael at stroeder.com
Tue Jan 29 09:48:31 CET 2008
Yeargan Yancey wrote:
> I am trying to use the asynchronous LDAP polling feature and have a
> question about what appears to be a timing issue. When I run the code
> below, I find that I must insert a sleep() before entering the while
> loop or I get a ValueError exception.
> File "/usr/lib/python2.4/site-packages/ldap/ldapobject.py", line 415,
> in result3
> rtype, rdata, rmsgid, serverctrls =
> ValueError: need more than 3 values to unpack
Hmm, this should never happen. I guess it's caused by _ldap.result3()
returning NULL for the situation where no result was received at all. I
will look into it.
In the meantime try if the patch to LDAPObject.py attached solves your
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1147 bytes
Desc: not available
More information about the python-ldap