From: Michael S. <mi...@st...> - 2009-03-20 21:25:17
|
Sean Burford wrote: > > 2009/3/20 Michael Ströder <mi...@st... > <mailto:mi...@st...>> > > 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. |