[Fedora-directory-users] FDS and PagedResultsControl

Chun Tat David Chu beyonddc.storage at gmail.com
Wed Mar 4 15:46:07 UTC 2009


Hi Graham,

>From your last email about event notification, it seems like you're using
JNDI.

Take a look at the JAVA API document on javax.naming.directory.DirContext.
There's a method called search which takes a SearchControls object.  Within
the SearchControls object you can set search count, timeout and search level
(onelevel, subtree, object)

- David

On Mon, Mar 2, 2009 at 6:38 AM, Graham Leggett <minfrin at sharp.fm> 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?
>
> Regards,
> Graham
> --
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20090304/1107c9ff/attachment.html>


More information about the 389-users mailing list