Issue 3283 - pagedResults in back-ldap
Summary: pagedResults in back-ldap
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 12:41 UTC by borwicjh@wfu.edu
Modified: 2014-08-01 21:06 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description borwicjh@wfu.edu 2004-08-13 12:41:17 UTC
Full_Name: John Borwick
Version: 2.2.13
OS: Red Hat Workstation 3
URL: 
Submission from: (NULL) (152.17.54.174)


Hello!

OpenLDAP advertises the pagedResults control, but back-ldap does not support
it.

It would be really neat if back-ldap supported pagedResults.  Perhaps back-ldap
could support pagedResults only if the directory to which back-ldap is pointing
supports pagedResults.

Also, it would be nice to have a way to turn off the advertisement of a
control.

Our Outlook 2003 users could not access LDAP for a while, because Outlook
detected that OpenLDAP supports pagedResults, but back-ldap does not support
pagedResults.

Thanks!

Comment 1 ando@openldap.org 2004-08-24 08:41:25 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Marc Wallman 2004-08-24 11:53:11 UTC
On Fri, 13 Aug 2004 borwicjh@wfu.edu wrote:

> Full_Name: John Borwick
> Version: 2.2.13
> OS: Red Hat Workstation 3
> URL: 
> Submission from: (NULL) (152.17.54.174)
> 
> 
> Hello!
> 
> OpenLDAP advertises the pagedResults control, but back-ldap does not support
> it.
> 
> It would be really neat if back-ldap supported pagedResults.  Perhaps back-ldap
> could support pagedResults only if the directory to which back-ldap is pointing
> supports pagedResults.
> 
> Also, it would be nice to have a way to turn off the advertisement of a
> control.
> 
> Our Outlook 2003 users could not access LDAP for a while, because Outlook
> detected that OpenLDAP supports pagedResults, but back-ldap does not support
> pagedResults.

We've been unable to get Outlook to work properly with 2.2.13
and were forced to fall back to 2.1.30 due to this issue.
Unfortunately, 2.2.13 has worked much better for us.

Is there some workaround or a fix in the works?
-- 

Marc Wallman
Senior Systems Administrator
Information Technology Services
North Dakota State University
Marc.Wallman@ndsu.nodak.edu
(701) 231-7168

Comment 3 ando@openldap.org 2004-08-24 12:19:35 UTC
openldapmarcw@rutabaga.cc.ndsu.nodak.edu wrote:

>On Fri, 13 Aug 2004 borwicjh@wfu.edu wrote:
>
>  
>
>>Full_Name: John Borwick
>>Version: 2.2.13
>>OS: Red Hat Workstation 3
>>URL: 
>>Submission from: (NULL) (152.17.54.174)
>>
>>
>>Hello!
>>
>>OpenLDAP advertises the pagedResults control, but back-ldap does not support
>>it.
>>
>>It would be really neat if back-ldap supported pagedResults.  Perhaps back-ldap
>>could support pagedResults only if the directory to which back-ldap is pointing
>>supports pagedResults.
>>
>>Also, it would be nice to have a way to turn off the advertisement of a
>>control.
>>
>>Our Outlook 2003 users could not access LDAP for a while, because Outlook
>>detected that OpenLDAP supports pagedResults, but back-ldap does not support
>>pagedResults.
>>    
>>
>
>We've been unable to get Outlook to work properly with 2.2.13
>and were forced to fall back to 2.1.30 due to this issue.
>Unfortunately, 2.2.13 has worked much better for us.
>
>Is there some workaround or a fix in the works?
>  
>
I've just committed a fix to HEAD code that enables pagedResults control
for back-ldap.  If you test it, and report positively, I can prepare a 
port to 2.2.
I do not foresee a release any close, but the fix is (almost) trivial 
and a patch
should be easy to generate.

p.




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

Comment 4 borwicjh@wfu.edu 2004-08-24 12:49:05 UTC
Marc Wallman wrote:
> On Fri, 13 Aug 2004 borwicjh@wfu.edu wrote:
> 
> 
>>Full_Name: John Borwick
>>Version: 2.2.13
>>OS: Red Hat Workstation 3
>>URL: 
>>Submission from: (NULL) (152.17.54.174)
>>
>>
>>Hello!
>>
>>OpenLDAP advertises the pagedResults control, but back-ldap does not support
>>it.
>>
>>It would be really neat if back-ldap supported pagedResults.  Perhaps back-ldap
>>could support pagedResults only if the directory to which back-ldap is pointing
>>supports pagedResults.
>>
>>Also, it would be nice to have a way to turn off the advertisement of a
>>control.
>>
>>Our Outlook 2003 users could not access LDAP for a while, because Outlook
>>detected that OpenLDAP supports pagedResults, but back-ldap does not support
>>pagedResults.
> 
> 
> We've been unable to get Outlook to work properly with 2.2.13
> and were forced to fall back to 2.1.30 due to this issue.
> Unfortunately, 2.2.13 has worked much better for us.
> 
> Is there some workaround or a fix in the works?


See http://www.openldap.org/lists/openldap-software/200408/msg00303.html 
for a source patch, or Pierangelo's suggestion at 
http://www.openldap.org/lists/openldap-software/200408/msg00321.html .

Yours,
John
-- 
            John Borwick
        System Administrator
       Wake Forest University | web  http://www.wfu.edu/~borwicjh
       Winston-Salem, NC, USA | GPG key ID             0x797326D5
Comment 5 Kurt Zeilenga 2004-08-27 22:46:34 UTC
changed notes
Comment 6 Kurt Zeilenga 2004-08-28 11:10:58 UTC
At 08:41 PM 8/12/2004, borwicjh@wfu.edu wrote:
>Full_Name: John Borwick
>Version: 2.2.13
>OS: Red Hat Workstation 3
>URL: 
>Submission from: (NULL) (152.17.54.174)
>
>
>Hello!
>
>OpenLDAP advertises the pagedResults control, but back-ldap does not support
>it.

Note that advertisement implies on that the server (as a whole)
recognizes (implements) the control.  It does not imply that
any particular operation which makes use of that control is
serviceable.  There seems to a bug in OpenLDAP in that it
is returning unavailableCriticalExtension for a recognized
control used in an appropriate manner.  Instead a service
error (such as unwillingToPerform) should be returned.



>It would be really neat if back-ldap supported pagedResults.  Perhaps back-ldap
>could support pagedResults only if the directory to which back-ldap is pointing
>supports pagedResults.
>
>Also, it would be nice to have a way to turn off the advertisement of a
>control.
>
>Our Outlook 2003 users could not access LDAP for a while, because Outlook
>detected that OpenLDAP supports pagedResults, but back-ldap does not support
>pagedResults.
>
>Thanks!

Comment 7 Kurt Zeilenga 2004-08-28 14:12:55 UTC
changed notes
Comment 8 Kurt Zeilenga 2004-08-28 14:13:13 UTC
changed notes
Comment 9 Kurt Zeilenga 2004-08-30 19:23:51 UTC
moved from Software Bugs to Software Enhancements
Comment 10 Kurt Zeilenga 2004-09-04 15:01:09 UTC
changed notes
changed state Test to Closed
Comment 11 Howard Chu 2009-02-17 04:51:30 UTC
moved from Software Enhancements to Archive.Software Enhancements
Comment 12 OpenLDAP project 2014-08-01 21:06:58 UTC
back-ldap support applied to HEAD; please test.
Also see ITS#3308.