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

Re: OpenLDAP advertises pagedResults but LDAP backend doesn't support it [was Re: Outlook 2003 "unavailable critical extension"]



John Borwick wrote:
[snip]
1. Is it possible to make openLDAP *not* advertised pagedResults in the
list of supportedControls?

I figured out how to patch the source to remove pagedResults from the list of supported controls. The patch I used is attached in case it would be helpful to others.

Yours,
John
--
            John Borwick
        Systems Administrator
       Wake Forest University | web  http://www.wfu.edu/~borwicjh
       Winston-Salem, NC, USA | GPG key ID               56D60872

diff -ur openldap-2.2.13/servers/slapd/controls.c openldap-2.2.13-wfu/servers/slapd/controls.c
--- openldap-2.2.13/servers/slapd/controls.c	2004-05-20 22:11:38.000000000 -0400
+++ openldap-2.2.13-wfu/servers/slapd/controls.c	2004-08-12 16:11:34.000000000 -0400
@@ -91,9 +91,6 @@
  	{ LDAP_CONTROL_VALUESRETURNFILTER,
  		SLAP_CTRL_SEARCH, NULL,
 		parseValuesReturnFilter, LDAP_SLIST_ENTRY_INITIALIZER(next) },
-	{ LDAP_CONTROL_PAGEDRESULTS,
-		SLAP_CTRL_SEARCH, NULL,
-		parsePagedResults, LDAP_SLIST_ENTRY_INITIALIZER(next) },
 #ifdef LDAP_CONTROL_X_DOMAIN_SCOPE
 	{ LDAP_CONTROL_X_DOMAIN_SCOPE,
 		SLAP_CTRL_FRONTEND|SLAP_CTRL_SEARCH, NULL,

Attachment: signature.asc
Description: OpenPGP digital signature