Bug 1865884 - Changing Password on the WEBUI to include one with a german umlaut leading to login problems
Summary: Changing Password on the WEBUI to include one with a german umlaut leading to...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: freeipa
Version: 33
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: IPA Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-04 12:54 UTC by Julian
Modified: 2021-11-30 16:07 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-11-30 16:07:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-7398 0 None None None 2021-11-30 12:56:31 UTC

Description Julian 2020-08-04 12:54:45 UTC
Description of problem:
Using the "Change Password" in the Dropdown of the webui to change the password to one that includes a german umlaut (äüö) will make it impossible to login again on the webui. Login with the new password in ldap or via cli kinit still works.

krb5kdc says: " PREAUTH_FAILED: user@REALM for krbtgt/REALM@REALM, Incorrect password in encrypted challenge"

Resetting the Password via the admin and then change password via "Your password has expired. Please enter a new password." Prompt will lead to a working webui but you can not login at any other place (ldap, kinit). Also you can not change your password anymore "2100: ACIError"

Version-Release number of selected component (if applicable):
FreeIPA, Version: 4.6.6
RHEL 7.8

How reproducible:
reproducible every time

Steps to Reproduce:
1. Login to ipa web ui
2. Click on your username -> change password
3. Select a password with a german umlaut (like "chängeme2020")
4. Logout
5. Try to login again, "The password you entered is incorrect."

Actual results:
No Login possible anymore on the webui, login in ldap is still possible.

Expected results:
Login possible with new Password

Additional info:
When you use the cli tool to change the password to one with a umlaut everything works except for the webui.

Comment 1 Rob Crittenden 2020-08-05 15:30:28 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/8448

Comment 2 Rob Crittenden 2020-08-05 15:33:59 UTC
I'm confused by some of the ordering.

> Resetting the Password via the admin and then change password via "Your password has expired. Please enter a new password." Prompt will lead to a working webui but you can not login at any other place (ldap, kinit). Also you can not change your password anymore "2100: ACIError"

This is resetting after setting a password with a non-ASCII value?

Can't change your password again how, as whom?

Are you saying that after setting a password with the umlaut that kinit from the command-line also doesn't work?

Comment 3 Julian 2020-08-05 15:48:31 UTC
# Behaviour 1
You begin with a unlocked account (not resetted password state). So you can login to the gui normally.
You change the password in the gui OR ipa passwd to one with a umlaut
You try to re-login to the gui: not possible anymore
CLI tools work fine, you can change your password there with ip passwd after using kinit.

# Behaviour 2
As Admin: Use ipa passwd <user> to set a password
The User is presented with the "Your password has expired. Please enter a new password." dialog. He changes his password to one with a umlaut there
User Logs Out of the Gui. User can login again. But he can not change his password anymore in the gui:
"2100: ACIError: Invalid credentials"
CLI Tools (kinit, but also any other authentication like against ldap) do not work anymore. 
"kinit: Password incorrect while getting initial credentials"

Comment 4 Ben Cotton 2020-11-03 17:28:12 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 5 Ben Cotton 2021-11-04 17:22:40 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Ben Cotton 2021-11-30 16:07:55 UTC
Fedora 33 changed to end-of-life (EOL) status on 2021-11-30. Fedora 33 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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