-
Bug
-
Resolution: Done-Errata
-
Major
-
dirsrv-11.8
-
None
-
None
-
rhel-sst-idm-ds
-
0
-
False
-
-
None
-
None
-
Bug Fix
-
Description of problem:
passwordHistory is not updated by with a pre-hashed password
Version-Release number of selected component (if applicable):
389-ds-base-1.4.3.37-7.module+el8dsrv+20631+5a3df0a9.x86_64
How reproducible:
always
Steps to Reproduce:
1. Add "uid=testuser,ou=people,dc=example,dc=com" with userPassword: <Password1>.
2. Run the followins.
dsconf ... pwpolicy set --pwdhistory on dsconf ... config replace nsslapd-allow-hashed-passwords=on ldapmodify -x -D "cn=Directory Manager" -w <Password> << 'EOF' dn: dc=example,dc=com changetype: modify add: aci aci: (targetattr="objectClass || description || uid || displayName || loginShell || uidNumber || gidNumber || gecos || homeDirectory || cn || memberOf || mail")(version 3.0; acl "Enable all read"; allow (read, search, compare)(userdn="ldap:///all");) aci: (targetattr="userPassword")(version 3.0; acl "Enable self partial modify"; allow (write)(userdn="ldap:///self");) EOF pwdhash -s PBKDF2_SHA256 <Password2> ldapmodify -x -D uid=testuser,ou=people,dc=example,dc=com -w <Password1> << 'EOF' dn: uid=testuser,ou=people,dc=example,dc=com changetype: modify replace: userpassword userpassword: {PBKDF2_SHA256}... EOF ldapsearch ... uid=testuser passwordHistory
Actual results:
passwordHistory is not updated.
Expected results:
passwordHistory is updated.
Additional info:
- external trackers
- links to
-
RHBA-2024:136844 redhat-ds:12 bug fix update