Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1600325

Summary: Link to change password is broken
Product: [oVirt] ovirt-engine Reporter: Bryan Yount <byount>
Component: AAAAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Matyáš <pmatyas>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, dfediuck, gshereme, lsvaty, mperina, peter
Target Milestone: ovirt-4.2.6Flags: rule-engine: ovirt-4.2+
Target Release: 4.2.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-03 15:09:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Password expired warning
none
Bad request none

Description Bryan Yount 2018-07-12 01:02:20 UTC
Created attachment 1458246 [details]
Password expired warning

Description of problem:
When logging into RHV Manager, I was presented with a message "Unable to log in because the password has expired. Change the password to proceed." where "Change the password" was a clickable URL.

Version-Release number of selected component (if applicable):
rhv-4.2.4.5
firefox-61.0.1

How reproducible:
Very

Steps to Reproduce:
1. Create a user on the internal domain
2. Set the user's password expiration
3. After expiration, try to log in

Actual results:
You click the link to "Change the password" and get sent to an error page that says "Bad request" and "Your browser set a request that this server could not understand.

Expected results:
The user should be able to change their password in the web UI.

Comment 1 Bryan Yount 2018-07-12 01:02:41 UTC
Created attachment 1458247 [details]
Bad request

Comment 3 Petr Matyáš 2018-08-07 12:05:13 UTC
It would be nice to have user friendlier message when trying to change the password to the same as the old one:
'Password change for user 'user1@internal' failed: Unable to log in. Verify your login information or contact the system administrator..'
Same message is displayed when using characters like ' ' in the password or using password shorter than required.

Comment 4 Red Hat Bugzilla Rules Engine 2018-08-07 12:05:18 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 5 Ravi Nori 2018-08-07 13:43:18 UTC
On password change process we just display the error message returned from the ldap server. Not sure if the message from Ldap servers specifies the reason the password change failed as this can vary from server to server. This bug is about the password change link, I suggest opening a separate bug for the error message.

Comment 6 Petr Matyáš 2018-08-07 14:46:57 UTC
Verified on ovirt-engine-4.2.6-0.1.el7ev.noarch

Comment 7 Martin Perina 2018-08-27 13:12:25 UTC
*** Bug 1620118 has been marked as a duplicate of this bug. ***