Files
freeipa/ipaserver
Thomas Woerner 7f507519d4 Find orphan automember rules
If groups or hostgroups have been removed after automember rules have been
created using them, then automember-rebuild, automember-add, host-add and
more commands could fail.

A new command has been added to the ipa tool:

  ipa automember-find-orphans --type={hostgroup,group} [--remove]

This command retuns the list of orphan automember rules in the same way as
automember-find. With the --remove option the orphan rules are also removed.

The IPA API version has been increased and a test case has been added.

Using ideas from a patch by: Rob Crittenden <rcritten@redhat.com>

See: https://pagure.io/freeipa/issue/6476
Signed-off-by: Thomas Woerner <twoerner@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
2018-10-10 09:56:40 +02:00
..
2018-10-05 09:04:15 -04:00
2018-10-10 09:56:40 +02:00
2018-10-05 12:06:19 +02:00
2010-12-20 17:19:53 -05:00
2018-09-27 11:49:04 +02:00
2018-10-05 12:06:19 +02:00
2016-10-20 18:43:37 +02:00
2018-07-05 19:46:42 +02:00