From: Michael S. <mi...@st...> - 2009-03-16 12:13:54
|
Zhang Huangbin wrote: > Michael Ströder wrote: >> To all of the people experiencing problems: >> Could you please run Demo/page_control.py after applying the attached >> patch (which enables debug logging). > > Here is output msg: So this seems to boil down to that the following commands (lines wrapped) would fail at your site instead of returning the encoded control tuple: >>> import ldap >>> from ldap.controls import SimplePagedResultsControl >>> SimplePagedResultsControl(ldap.LDAP_CONTROL_PAGE_OID,True,(10,'')).getEncodedTuple() ('1.2.840.113556.1.4.319', True, '0\x05\x02\x01\n\x04\x00') Ciao, Michael. |