[Freeipa-devel] [PATCH] 156 Create pkey-only option for find commands

Endi Sukma Dewata edewata at redhat.com
Wed Oct 26 16:12:59 UTC 2011


On 10/26/2011 4:29 AM, Martin Kosek wrote:
> New option --pkey-only is available for all LDAPSearch based classes
> with primary key visible in the output. This option makes LDAPSearch
> commands search for primary attribute only.
>
> This may be useful when manipulating large data sets. User can at
> first retrieve all primary keys in a relatively small data package
> and then run further commands with retrieved primary keys.
>
> https://fedorahosted.org/freeipa/ticket/1262

The new option looks good, but it's still bound by the search size limit 
so it's not returning the complete set of primary keys. The UI needs to 
get the complete set in order to compute the pagination.

To get the complete set the server probably needs to search the LDAP 
backend using simple paged results control. There's also a deferred 
ticket #81, but that's seems to be for supporting paged results in IPA's 
API.

-- 
Endi S. Dewata




More information about the Freeipa-devel mailing list