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

Pavel Zuna pzuna at redhat.com
Tue Jan 4 15:30:41 UTC 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pzuna-freeipa-54-filterenroll.patch
Type: text/x-patch
Size: 9281 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110104/4d2d0944/attachment.bin>


More information about the Freeipa-devel mailing list