Bug 2166332

Summary: [RFE] Fine-grained configuration to password updates by admin users.
Product: Red Hat Enterprise Linux 8 Reporter: Daniel Filho <dcamilof>
Component: 389-ds-baseAssignee: mreynolds
Status: VERIFIED --- QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: medium Docs Contact: Mugdha Soni <musoni>
Priority: high    
Version: 8.6CC: bsmejkal, dchen, emartyny, idm-ds-dev-bugs, mreynolds, musoni, tbordaz, vashirov
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 8.9   
Hardware: x86_64   
OS: Linux   
Whiteboard: sync-to-jira
Fixed In Version: 389-ds-base-1.4.3.36-2.module+el8.9.0+19332+3ffa8e10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Filho 2023-02-01 13:59:07 UTC
1. Proposed title of this feature request?
 RFE - Fine-grained configuration to password updates by admin users.

2. What are the nature and description of the request?

 That improvement should capable admin users to bypass not only password syntaxes but also password behavior, such as expiration timestamp and must change the password on the global/local login policies.

3. Why do you need this? (List the business requirements here)

 Enable administrators to bypass those policies according to their business needs.

4. Is there already an existing RFE upstream or in Red Hat Bugzilla?

 Not found.

5. Would you be able to assist in testing this functionality if implemented?

 Yes.

Comment 8 mreynolds 2023-05-16 15:13:51 UTC
Upstream ticket:

https://github.com/389ds/389-ds-base/issues/5770

Adding a new setting "passwordAdminSkipInfoUpdate: on/off" under cn=config

If set to "off" only the password is changed, and NONE of the password state attributes in the user entry are updated:  passwordInHistory, passwordExpirationTime, etc.

Comment 10 mreynolds 2023-05-18 13:31:36 UTC
Fixed upstream

Comment 11 bsmejkal 2023-07-20 13:32:52 UTC
============================================================================================================ test session starts =============================================================================================================
platform linux -- Python 3.6.8, pytest-7.0.1, pluggy-1.0.0 -- /usr/bin/python3.6
cachedir: .pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-502.el8.x86_64-x86_64-with-redhat-8.9-Ootpa', 'Packages': {'pytest': '7.0.1', 'py': '1.11.0', 'pluggy': '1.0.0'}, 'Plugins': {'libfaketime': '0.1.2', 'flaky': '3.7.0', 'metadata': '1.11.0', 'html': '3.2.0'}}
389-ds-base: 1.4.3.36-2.module+el8.9.0+19332+3ffa8e10
nss: 3.79.0-11.el8_7
nspr: 4.35.0-1.el8_8
openldap: 2.4.46-18.el8
cyrus-sasl: 2.1.27-6.el8_5
FIPS: disabled
rootdir: /mnt/tests/rhds/tests/upstream/ds/dirsrvtests, configfile: pytest.ini
plugins: libfaketime-0.1.2, flaky-3.7.0, metadata-1.11.0, html-3.2.0
collected 1 item                                                                                                                                                                                                                             

dirsrvtests/tests/suites/password/pwdAdmin_test.py::test_pwd_admin_config_test_skip_updates PASSED                                                                                                                                  [100%]

============================================================================================================= 1 passed in 45.91s =============================================================================================================

Comment 14 bsmejkal 2023-07-21 08:40:08 UTC
As per comment #c11 marking as VERIFIED.