[Fedora-directory-users] FDS and PagedResultsControl

Rich Megginson rmeggins at redhat.com
Mon Mar 2 15:34:37 UTC 2009


Graham Leggett wrote:
> Hi all,
>
> Normal users on the directory are subject to an administrative limit 
> as to the size of the result sets returned, which in our case has 
> defaulted to 50.
>
> I have to periodically query the directory and have all results 
> returned, in order to perform an operation on all users periodically.
>
> As I understand it, I can achieve this using the PagedResultsControl 
> (in Java), which returns results in small chunks rather than one big 
> blob.
>
> When I try to use this control, I get the error:
>
> LDAP: error code 12 - Unavailable Critical Extension
>
> I understand from this error message that the paged control is not 
> supported by FDS?
>
> Before trying to get PagedResultsControl to work, I need to clarify at 
> the outset: Am I approaching this the right way?
>
> Is there an alternative method I should be using to return large 
> result sets, without being forced to receive all results in one big 
> blob, triggering administrative limits?
You could also create a special administrative user account that's used 
only for this purpose, and increase the size, time, and lookthrough 
limits on this account only.  
http://www.redhat.com/docs/manuals/dir-server/ag/8.0/User_Account_Management-Setting_Resource_Limits_Based_on_the_Bind_DN.html

If you need paging, you could use Virtual List View (VLV aka "Browsing 
Index") - see 
http://www.redhat.com/docs/manuals/dir-server/ag/8.0/Managing_Indexes.html 
- look for Browsing Index
>
> Regards,
> Graham
> -- 
> ------------------------------------------------------------------------
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20090302/5b29a373/attachment.bin>


More information about the Fedora-directory-users mailing list