#9416 Better error description when managing a user with '--idp'
Closed: fixed a year ago by frenaud. Opened a year ago by rjeffman.

Issue

When adding (user-add) or modifying (user-mod) a user and using the option --idp if the IdP name is not found the output is ipa: ERROR: no such entry, which is not descriptive and hard to understand if several options are used at once.

Steps to Reproduce

  1. ipa user-add someuser --idp inexistent_idp

Actual behavior

The error message ipa: ERROR: no such entry is given.

Expected behavior

A better message, relating the error with an inexistent IdP should be provided.

Version/Release/Distribution

Affects all 4.10+ releases of FreeIPA


Metadata Update from @frenaud:
- Issue assigned to frenaud

a year ago

Metadata Update from @frenaud:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/6916

a year ago

master:

  • f57a7db User plugin: improve error related to non existing idp
  • 7517e2c xmlrpc tests: add a test for user plugin with non-existing idp

ipa-4-10:

  • 3878730 User plugin: improve error related to non existing idp
  • caacccc xmlrpc tests: add a test for user plugin with non-existing idp

ipa-4-9:

  • 99aa034 User plugin: improve error related to non existing idp
  • dbcbe9a xmlrpc tests: add a test for user plugin with non-existing idp

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

a year ago

Metadata Update from @frenaud:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=2224572

a year ago
a year ago

Log in to comment on this ticket.

Metadata