Steeve suggested more tests to be added to the automembership rebuild feature (original ticket #3752):
Rebuild membership with type hostgroup and --hosts
Rebuild membership with type group and --users
Try to rebuild membership with invalid host in --hosts
For 3. and 4., error message should be improved (in the code):
# ipa automember_rebuild --users=test ipa: ERROR: no such entry
Hint: Use
api.Object[type].handle_not_found(obj)
construct to get the error message.
FreeIPA 4.1.1 was released.
attachment freeipa-dkupka-0032-Fix-error-message-for-nonexistent-members-and-add-te.patch
Starting review
attachment freeipa-dkupka-0032-2-Fix-error-message-for-nonexistent-members-and-add-te.patch
master:
ipa-4-1:
This patch is not critical for downstream builds.
Metadata Update from @mkosek: - Issue assigned to dkupka - Issue set to the milestone: FreeIPA 4.1.2
Login to comment on this ticket.