[Freeipa-devel] [PATCH] Improve filtering of enrollments search results.

Adam Young ayoung at redhat.com
Tue Jan 4 17:41:16 UTC 2011


On 01/04/2011 10:30 AM, Pavel Zuna wrote:
> This is required for effective filtering of enrollments search
> results in the webUI and also gives an edge to the CLI.
>
> After this patch, each LDAPObject can define its relationships
> to other LDAPObjects. For now, this is used only for filtering
> search results by enrollments, but there are probably more
> benefits to come.
>
> You can do this for example:
>
> # search for all users not enrolled in group admins
> ipa user-find --not-in-groups=admins
>
> # search for all groups not enrolled in group global with user Pavel
> ipa group-find --users=Pavel --not-in-groups=global
>
> # more examples:
> ipa group-find --users=Pavel,Jakub --no-users=Honza
> ipa hostgroup-find --hosts=webui.pzuna
>
> Pavel
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
Nack, as is we lose all of the associations for users.

I suspect the changes to baseldap are safe, but can you explain why that 
is the case?

Haven't noticed any other shortcomings.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110104/f0fddc38/attachment.htm>


More information about the Freeipa-devel mailing list