Re: ldap.ENCODING_ERROR when trying to use SimplePageResultsControl

2009-03-15 Thread Zhang Huangbin
Zhang Huangbin wrote: > Strange, the same code (Demo/page_control.py) works in: > > - OS: CentOS 5.2, *i386* > - Python: 2.4.3-21.el5 (shipped within CentOS) > - python-ldap: 2.3.6 (installed from source tarball) > - OpenLDAP: 2.3.27-8.el5_2.4 > How can i help developers fix this possible bug? Plea

Re: ldap.ENCODING_ERROR when trying to use SimplePageResultsControl

2009-03-15 Thread Zhang Huangbin
Strange, the same code (Demo/page_control.py) works in: - OS: CentOS 5.2, *i386* - Python: 2.4.3-21.el5 (shipped within CentOS) - python-ldap: 2.3.6 (installed from source tarball) - OpenLDAP: 2.3.27-8.el5_2.4 -- Best regards. Zhang Huangbin - Open Source Mail Server Solution for RHEL/Cent

Re: ldap.ENCODING_ERROR when trying to use SimplePageResultsControl

2009-03-15 Thread Zhang Huangbin
I had the same error here while run Demo/page_control.py: Traceback (most recent call last): File "1.py", line 23, in ? serverctrls=[lc] File "/usr/lib64/python2.4/site-packages/python_ldap-2.3.6-py2.4-linux-x86_64.egg/ldap/ldapobject.py", line 501, in search_ext_s msgid = sel