[python-ldap] [PATCH] fix corrupted search attributes

Elmir Jagudin elmir at unity3d.com
Wed Jan 20 04:48:57 EST 2016


On Mon, Jan 18, 2016 at 3:49 PM, Elmir Jagudin <elmir at unity3d.com> wrote:

>
>
> On Mon, Jan 18, 2016 at 2:55 PM, Michael Ströder <michael at stroeder.com>
> wrote:
>
>> Elmir Jagudin wrote:
>> > On Sun, Jan 17, 2016 at 9:12 PM, Michael Ströder <michael at stroeder.com>
>> > wrote:
>> >
>> >> Elmir Jagudin wrote:
>> >>> Here is a patch that fixes issue with corrupted search attributes
>> while
>> >>> using LDAPObject.search_s().
>> >>
>> >> There's a problem with your patch:
>> >> It does not handle attrlist=None correctly.
>> >>
>> >
>> > Yepp, I missed that use case. Here comes second version of the patch,
>> where
>> > this problem is fixed.
>>
>> Committed to CVS:
>>
>> http://python-ldap.cvs.sourceforge.net/viewvc/python-ldap/python-ldap/Modules/LDAPObject.c?r1=1.92&r2=1.93
>>
>> I'd like to release 2.4.24 with this regression fix today.
>> So please test.
>>
>>
> I did some testing from CVS head. I don't see any problems.
>

I just tested the official 2.4.25 release. It solves my LDAP login problems
and all seems peachy.

Thanks for the new release and sorry for messing up the 2.4.24 release :P

/Elmir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20160120/51c8a401/attachment.html>


More information about the python-ldap mailing list