Segfault in LDAPerror() when errnum is out of bounds
Michael Ströder
michael at stroeder.com
Fri Mar 20 22:24:38 CET 2009
Sean Burford wrote:
>
> 2009/3/20 Michael Ströder <michael at stroeder.com
> <mailto:michael at stroeder.com>>
>
> many thanks for digging through this. Does that mean your issues with
> syncrepl controls and l_ldap_result3() are fixed?
>
> Yeah. There are still mysteries, but RefreshOnly works well enough for now.
>
> I'm wondering why controls are stripped from search results (it would be
> nice to get the control that says whether a syncrepl result is an
> add/modify or delete for example). Is this just a side effect of
> optimisation of the usual code path?
I did not write that code. It' still mystery to me especially since I
don't like programming C. Maybe David could enlighten us. When support
for LDAPv3 controls was added I already had some doubts...
> Any particular reason why you're using python-ldap 2.3.1 which is almost
> two years old?
>
>
> It came with my distro.
Please upgrade, especially when providing patches. There have been
numerous fixes since then:
http://python-ldap.cvs.sourceforge.net/viewvc/python-ldap/python-ldap/CHANGES?revision=1.183&view=markup
Your patch and a couple of other minor changes are now in CVS HEAD.
There should be no compability issues between 2.3.1 and a recent
python-ldap release.
Ciao, Michael.
More information about the python-ldap
mailing list