#5145 Stageuser plugin - cannot restore preserved user
Closed: Fixed None Opened 8 years ago by lryznaro.

In stageuser plugin, option to move a preserved user to staging container does not work.

Steps to reproduce:
1. create a preserved user:
# ipa user-add tuser --first test --last user

# ipa user-del tuser --preserve
  1. try to restore the user (move it to staging container):
    # ipa stageuser-add tuser --from-delete

[[BR]]

Expected result:
User is now a staged user and is no longer in preserved container.

[[BR]]

Actual result:
Asks for specifying first and last name and then fails: ERROR: Internal error occured.

The user is still in preserved container, no staged user is created.


master:

  • cea52ce ULC: Fix stageused-add --from-delete command

ipa-4-2:

  • 10e43f8 ULC: Fix stageused-add --from-delete command

This issue needs an additional fix.

Asking for firstname and lastname will be solved by replacing this method by separate command. The work should continue in ticket #5041.

Metadata Update from @lryznaro:
- Issue assigned to mbasti
- Issue set to the milestone: FreeIPA 4.2.1

7 years ago

Login to comment on this ticket.

Metadata