[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#5092) page size value of 1.2.840.113556.1.4.319 control

Full_Name: Randolf Werner 
Version: 2.3.35
OS: Windows XP
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

i just have found the following compatibilty issue when using the
1.2.840.113556.1.4.319 control (http://www.ietf.org/rfc/rfc2696.txt) supported
by slapd. According to Microsoft and IBM LDAP API ldap_create_page_control


the page size parameter should be an 32 Bit unsigned integer, however the RFC
specifies it as "(INTEGER (0..maxInt)". Therefore our LDAP client uses 2**32-1
as default page size value. This works fine with Microsoft Active Directroy for
many years but fails with "Protocol Error" (Error 2) when using slapd. Our
workaround is to use 2**31-1 as default value in our client. I am not sure which
implementation is correct, anyway it is a compatibility issue for ldap clients
and might be "fixed" to improve compatibility.

Best regards