Hide Forgot
This bug is created as a clone of upstream ticket: https://fedorahosted.org/389/ticket/48813 When an admin resets a password the current password is not stored in the password history. This incorrectly allows the user to reuse the previous password after the reset.
Justification: From the security perspective, password reset must strictly follow the password policy.
Executed upstream test :: ========================= test session starts platform linux2 -- Python 2.7.8, pytest-3.0.4, py-1.4.31, pluggy-0.4.0 -- /opt/rh/python27/root/usr/bin/python cachedir: .cache DS build: 1.2.11.15 B2016.312.1950 389-ds-base: 1.2.11.15-85.el6 nss: 3.27.1-7.el6 nspr: 4.13.1-1.el6 openldap: 2.4.40-14.el6 svrcore: 4.0.4-5.1.el6 rootdir: /export/tests, inifile: plugins: html-1.11.0, cov-2.4.0, beakerlib-0.6 collected 1 items suites/password/pwp_history_test.py::test_pwp_history_test PASSED === 1 passed in 38.93 seconds Marking bug as verified.
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://rhn.redhat.com/errata/RHBA-2017-0667.html