RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1713143 - SSSD does not translate the 2FA text labels("first factor" / "second factor") on GDM login and screensaver unlock screen
Summary: SSSD does not translate the 2FA text labels("first factor" / "second factor")...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.3
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Sumit Bose
QA Contact: Scott Poore
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-23 01:35 UTC by amit yadav
Modified: 2021-11-10 09:04 UTC (History)
12 users (show)

Fixed In Version: sssd-2.5.0-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 19:46:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:4435 0 None None None 2021-11-09 19:46:53 UTC

Description amit yadav 2019-05-23 01:35:01 UTC
Description of problem:
When using the 2Factor Authentication on RHEL7.6 machines in combination with sssd, gdm and GNOME3 desktop(using yubikeys),
the user is prompted  for "First Factor" and "Second Factor" when logging in or when unlocking a previously locked desktop.

In contrast with all other Textlabels on the Login Screen (and Unlock Screen respectively) the two Labels provided for the credential 
Textfields are not translated (into German) but rendered in English. 

These labels should be tranlated based on the locale set by the user. 

Expected Label Text for a German Customer:
 
 "First Factor" should be "Passwort"
 "Second Factor" should be "OTP Token"


Version-Release number of selected component (if applicable):
sssd-1.16.2-13.el7_6.8.x86_64

How reproducible:
Always

Steps to Reproduce:

1. Set system locale to German

   # localectl set-locale LANG=de_DE.utf8

2. Enable "Two factor authentication (password + OTP)" on the RHEL7 system.

3. Logout and try to login into the system.

Actual results:
The two Labels provided for the credential text fields are not translated into German but rendered in English.

Expected results:
It should be translated based on the locale set on the system

Additional info:
There is an RFE filed to make 2FA prompting configurable [1] but I am not sure whether it will also fix the translation issue.

[1]https://bugzilla.redhat.com/show_bug.cgi?id=1402056

Comment 24 Scott Poore 2021-05-17 21:14:01 UTC
Pre-verified.

Version ::

sssd-2.5.0-1.el8.x86_64

Results ::

# msgunfmt /usr/share/locale/de/LC_MESSAGES/sssd.mo | grep -A1 -E '(First Factor|Second Factor)'
msgid "First Factor (Current Password): "
msgstr "Erster Faktor (aktuelles Passwort): "
--
msgid "First Factor: "
msgstr "Erster Faktor (Passwort): "
--
msgid "Second Factor (optional): "
msgstr "Zweiter Faktor (optional): "
--
msgid "Second Factor: "
msgstr "Zweiter Faktor (OTP Token): "

Comment 29 Scott Poore 2021-06-09 11:33:38 UTC
Verified.

Version ::

sssd-2.5.0-1.el8.x86_64


Results ::

# msgunfmt /usr/share/locale/de/LC_MESSAGES/sssd.mo | grep -A1 -E '(First Factor|Second Factor)'
msgid "First Factor (Current Password): "
msgstr "Erster Faktor (aktuelles Passwort): "
--
msgid "First Factor: "
msgstr "Erster Faktor (Passwort): "
--
msgid "Second Factor (optional): "
msgstr "Zweiter Faktor (optional): "
--
msgid "Second Factor: "
msgstr "Zweiter Faktor (OTP Token): "

Comment 31 errata-xmlrpc 2021-11-09 19:46:33 UTC
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 (sssd bug fix and enhancement update), 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-2021:4435


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