Re: FDS and PagedResultsControl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx> 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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users


--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux