[PEAK] LDAP.py small fix for current python-ldap module
(2.0.4)
Phillip J. Eby
pje at telecommunity.com
Mon Mar 21 10:28:17 EST 2005
At 11:00 AM 03/21/2005 +0100, Ulrich Eck wrote:
>Hi Phillip,
>
>there seems to be a change in one of the last releases of python-ldap
>that is not 100% compatible with the current peak/storage/LDAP.py
>implementation:
>
>currently rows are fetched "while restype != 'RES_SEARCH_RESULT'" but
>restype will be set to ldap.RES_SEARCH_RESULT (equals 101) by calling
>restype, data = connection.result(..)
I just checked in a different fix that should still work for versions that
don't offer a RES_SEARCH_RESULT member; please let me know if you have any
problems with it, as I don't currently have *any* ldap version built to
test against. :)
More information about the PEAK
mailing list