#270 Improve error reporting when adding/removing members
Closed: Fixed None Opened 13 years ago by rcritten.

This applies to all plugins that add/remove members. Currently we return the list of failed DNs but not the reasons for those failures. It would be helpful if we kept a per-entry failure reason.


Will affect CLI output.

master: 3c795f3

To test, add a few groups and users then try to modify membership with valid and invalid values:

$ ipa group-add-member --users=notfound --groups=none g1
$ ipa group-add-member --users=user1 g1
$ ipa group-add-member --users=user1 g1

Should get reasonable messages about not found, already a member, etc. Similar tests can be done with -remove-member.

Metadata Update from @rcritten:
- Issue assigned to rcritten
- Issue set to the milestone: FreeIPA 2.0 - 2010/10

7 years ago

Login to comment on this ticket.

Metadata