go to  ForumEasy.com   
LdapPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  What happens if pageSize > MaxPageSize ?
 
Subject: What happens if pageSize > MaxPageSize ?
Author: SteveHB
In response to: How does client discard unwanted results in process?
Posted on: 09/11/2007 09:31:06 PM

Take AD for example, its MaxPageSize = 1000 by default, which means each search cannot return results more than 1000. The problem is that you might have no idea of the value of MaxPageSize for a given LDAP server and you might accidentally set pageSize > MaxPageSize, e.g. 1500 > 1000.

AD will automatically trim the 1500 to 1000 and return only 1000 results each page. That's OK and doesn't hurts anyone.




 

> On 09/07/2006 07:48:58 PM SteveHB wrote:


A sequence of paged search requests is abandoned by the client:
  • sending a search request containing a pagedResultsControl with the size set to zero (pageSize=0).
  • sending an LDAP Abandon operation to abandon one paged search request in progress, but this is discouraged.
  • walking away without informing server, definitely this is strongly discouraged.





    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.