Description of problem:
It confused me a bit that the UI did not change to indicate that an OTP existed.
It is on purpose that you can not retrieve and existing OTP. But it would be nice if maybe the UI at least indicated that one was set by maybe, changing the button to say "Set New OTP" or something.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
The WebUI needs to be updated to use this new attribute.
The WebUI has been updated too upstream (ticket 1710):
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Cause: There is no indicator in a host entry that a one-time password is set.
Consequence: It is not possible to view a host entry and know that it has a one-time password set.
Fix: Add a new output attribute for host entries, has_password, that is set when the host has a password set.
Result: If has_password is True then a password has been set on the host. There is no way to see what that password is once it has been set.
Verified using ipa-server-2.1.3-8.el6.x86_64
It is initially:
One-Time-Password Not Present One-Time-Password Present
And when an OTP is set, changes to
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.