ldap.ENCODING_ERROR when trying to use SimplePageResultsControl
Zhang Huangbin
zhbmaillistonly at gmail.com
Mon Mar 16 14:31:06 CET 2009
Michael Ströder wrote:
> Could somebody with more knowledge of C programming please review
> function encode_rfc2696() in Modules/ldapcontrol.c?
>
> The following var declaration could be problematic on 64-bit systems:
>
> unsigned long size;
>
> Another issue could be in decode_rfc2696() (which is not yet reached if
> encode_rfc2696() fails):
>
> unsigned long count;
I asked friend and he suggests me change them to:
unsigned long size; => unsigned int size;
unsigned long count; => unsigned int count;
Re-compile and install, but it raises the same error.
--
Best regards.
Zhang Huangbin
- Open Source Mail Server Solution for RHEL/CentOS 5.x:
http://code.google.com/p/iredmail/
More information about the python-ldap
mailing list