Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1373091 - Adding an auth indicator from the CLI creates an extra check box in the UI
Adding an auth indicator from the CLI creates an extra check box in the UI
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa (Show other bugs)
7.3
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Pavel Picka
Pavel Picka
:
: 1421118 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-09-05 03:06 EDT by Aneta Šteflová Petrová
Modified: 2017-08-01 05:39 EDT (History)
5 users (show)

See Also:
Fixed In Version: ipa-4.5.0-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-01 05:39:54 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
output (5.64 KB, image/jpeg)
2017-06-05 11:53 EDT, Pavel Picka
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2304 normal SHIPPED_LIVE ipa bug fix and enhancement update 2017-08-01 08:41:35 EDT

  None (edit)
Description Aneta Šteflová Petrová 2016-09-05 03:06:16 EDT
Created attachment 1197790 [details]
otp check box

Description of problem:
When adding an authentication indicator from the command line, the corresponding check box in the UI is not checked. Instead, a completely new (and unchecked) check box appears.

Version-Release number of selected component (if applicable):


How reproducible:
Always.

Steps to Reproduce:
1. ipa host-mod server.example.com --auth-ind=otp
2.Output of ipa host-show shows this:
    ...
    Authentication Indicators: otp
    ...

Actual results:
A new check box appears in the host entry page in the UI: "otp" (next to "OTP" and "RADIUS"). None of the check boxes are actually checked. See the attached screenshot.


Expected results:
The "OTP" check box gets checked in the UI, no new extra check box is created.


Additional info:
Comment 3 Petr Vobornik 2016-09-05 13:18:34 EDT
I've reproduce the bug with any uppercase auth indicator, e.g.:
  ipa host-mod server.example.com --auth-ind=ABC

The mentioned 
  ipa host-mod server.example.com --auth-ind=otp
Works OK.


There is a bug in Web UI that internally transforms the values to lower case - therefore 'OTP' is checked in Web UI when 'otp' is set in CLI. And 'otp' is saved to LDAP when 'OTP is checked in Web UI.
Comment 4 Petr Vobornik 2016-09-07 10:57:13 EDT
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/6308
Comment 5 Petr Vobornik 2016-09-07 11:00:18 EDT
Authentication indicators feaure in RHEL 7.3 by default uses only two indicators: "otp" and "radius". Web UI works with those. 

CLI and WebUI allows to define also custom indicators which requires special third party plugin. CLI works with those well but Web UI doesn't handle uppercase characters(this bug). This part is not supported workflow, therefore moving to 7.4.
Comment 6 Luc de Louw 2016-11-23 04:49:26 EST
It is even worse. When deleting the flag in the WebUI, its not flagged anymore but still in the database. The only way to get rid of it via CLI.

This should be fixed in 7.3 or at least documented in a KB how to work around this issue.
Comment 7 Petr Vobornik 2017-02-28 04:00:23 EST
*** Bug 1421118 has been marked as a duplicate of this bug. ***
Comment 10 Pavel Picka 2017-06-05 11:53 EDT
Created attachment 1285080 [details]
output

# ipa host-mod $(hostname) --auth-ind=otp
...
Authentication Indicators: otp
...

ipa-server-4.5.0-13.el7.x86_64

Verified
Comment 11 errata-xmlrpc 2017-08-01 05:39:54 EDT
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.

https://access.redhat.com/errata/RHBA-2017:2304

Note You need to log in before you can comment on or make changes to this bug.