[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:

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.

If you want to file an ITS, someone might look into allowing pagedResults thru back-ldap.

p.


Yours, John

------------------------------------------------------------------------

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,








SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497