[Freeipa-devel] stageuser-add --from-delete issue #5145

Martin Basti mbasti at redhat.com
Thu Jul 23 12:43:00 UTC 2015


Hello,

I tried to fix #5145 and I partially succeeded.

However, I cannot fix this part of ticket, where user is prompted to 
write name and surname.

$ ipa stageuser-add tuser --from-delete
First name: this will be ignored
Last name: this will be also ignored
------------------------
Added stage user "tuser"
------------------------

As the first name and last name are mandatory attributes of 
stageuser-add command, but they are not needed by when the --from-delete 
option is used.
I would like to ask how to fix this issue, IMO this will be huge hack in 
internal API. Or should we just document this bug as known issue 
(thierry wrote that this is not use case that should be used often)?

The best solution would be separate command, but this idea was rejected 
in thread "[Freeipa-devel] User life cycle: question regarding the design"

Regards
Martin^2

-- 
Martin Basti




More information about the Freeipa-devel mailing list