Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 751179 - [ipa webui] Unable to change password, misleading error
[ipa webui] Unable to change password, misleading error
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa (Show other bugs)
6.1
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Rob Crittenden
IDM QE LIST
:
Depends On:
Blocks: 752757
  Show dependency treegraph
 
Reported: 2011-11-03 14:53 EDT by Namita Soman
Modified: 2011-12-06 13:43 EST (History)
1 user (show)

See Also:
Fixed In Version: ipa-2.1.3-9.el6
Doc Type: Bug Fix
Doc Text:
Do not document
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-12-06 13:43:40 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1533 normal SHIPPED_LIVE Moderate: ipa security and bug fix update 2011-12-05 20:23:31 EST

  None (edit)
Description Namita Soman 2011-11-03 14:53:18 EDT
Description of problem:
While testing bug 738693, ran into bug 751173. A combination of the two or possibly just 751173, is showing up in UI.

In UI, there is no field to enter current password. Reset password, fails with error - 
'current_password' is required
if the min lifetime is 1 hour

But if min lifetime is set to 0, can reset password.




Version-Release number of selected component (if applicable):
ipa-server-2.1.3-8.el6.x86_64


How reproducible:
always

Steps to Reproduce:
1. Add a user
2. Edit user and set password
3. Reset password again
  
Actual results:
error thrown:
'current_password' is required

Expected results:
If current password is required, there is no field for it.

But if min lifetime is changed, can reset password


Additional info:
Comment 4 Rob Crittenden 2011-11-04 14:37:41 EDT
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2065
Comment 6 Rob Crittenden 2011-11-07 08:55:04 EST
The bottom line of this bug is that password change in the UI wasn't working for the self-service case.
Comment 8 Rob Crittenden 2011-11-07 15:10:09 EST
Backported patch from ipa-2-1 branch.
Comment 10 Namita Soman 2011-11-08 11:52:31 EST
testing
Comment 11 Namita Soman 2011-11-08 12:32:39 EST
I still see the same error as reported at the start of this bug. The error message is controlled by pw policy which in turn is controlled by python-ldap which doesn't support the password change extop. So better error handling will be addressed with cli issue - bug 751173.

 But in discussing this with Rob, it was decided that this bug will address the self-service case and add the current password field. Which is verified using ipa-server-2.1.3-9.el6.x86_64.
Comment 13 Martin Kosek 2011-11-09 03:32:56 EST
    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.
    
    New Contents:
Do not document
Comment 14 errata-xmlrpc 2011-12-06 13:43:40 EST
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.

http://rhn.redhat.com/errata/RHSA-2011-1533.html

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