Re: Preparing release 2.3.10, please test!

2009-10-22 Thread Michael Ströder
Chris Dukes wrote: > > I went to check my patch to provide msgid in a result exception against > 2.3.10. > I have found a problem on constants.c > [..] > Modules/constants.c:185: error: ‘LDAP_OPT_X_TLS_PROTOCOL_MIN’ undeclared > (first use in this function) Should be #ifdef LDAP_OPT_X_TLS_PROTOC

Add msgid to info dict created by LDAPerror.

2009-10-22 Thread Chris Dukes
And here is the patch cleaned up against python-ldap 2.3.10 Thanks, Chris Dukes Binary files python-ldap.TLS_PROTOCOL_MIN/build/lib.linux-i686-2.5/_ldap.so and python-ldap/build/lib.linux-i686-2.5/_ldap.so differ Binary files python-ldap.TLS_PROTOCOL_MIN/dist/python_ldap-2.3.10-py2.5-linux-i686.eg

Re: Preparing release 2.3.10, please test!

2009-10-22 Thread Chris Dukes
The following patch allows the LDAP_OPT_X_TLS_PROTOCOL_MIN to work with libldap2-dev 2.4.9-0ubuntu0 Thanks, Chris Dukes Only in python-ldap/build: bdist.linux-i686 Only in python-ldap/build/lib.linux-i686-2.5: _ldap.so Only in python-ldap: dist Only in python-ldap/Lib/python_ldap.egg-info: native_

Re: Preparing release 2.3.10, please test!

2009-10-22 Thread Chris Dukes
Michael, I went to check my patch to provide msgid in a result exception against 2.3.10. I have found a problem on constants.c gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBLDAP_R -DHAVE_SASL -DHAVE_TLS -DLDAPMODULE_VERSION=2.3.10 -IModules -I

Add msgid to info dict created by LDAPerror.

2009-10-22 Thread Chris Dukes
While rewriting a nasty perl LDAP sync program in python I encountered one quirk with python-ldap that made my life a bit difficult. When doing asynchronous searches an ldap exception in result3() doesn't include 'msgid' in the info dict. Since I'm tracking pending work by the msgid of the search