#4643 Automember: missing tests and better behavior of user/host is not found
Closed: Fixed None Opened 9 years ago by mkosek.

Steeve suggested more tests to be added to the automembership rebuild feature (original ticket #3752):

  1. Rebuild membership with type hostgroup and --hosts

    ipa automember_rebuild --type=hostgroup --hosts=web1.example.com

  2. Rebuild membership with type group and --users

    ipa automember_rebuild --type=group --users=tuser1

  3. Try to rebuild membership with invalid host in --hosts

  4. Try to rebuild membership with invalid user in --users

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.


master:

  • b42b175 webui: normalize idview tab labels

ipa-4-1:

  • 2fc53c9 webui: normalize idview tab labels

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

7 years ago

Login to comment on this ticket.

Metadata