Bug 2166332 - [RFE] Fine-grained configuration to password updates by admin users.
Summary: [RFE] Fine-grained configuration to password updates by admin users.
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: 389-ds-base
Version: 8.6
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: 8.9
Assignee: mreynolds
QA Contact: LDAP QA Team
Mugdha Soni
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-02-01 13:59 UTC by Daniel Filho
Modified: 2023-07-21 08:40 UTC (History)
8 users (show)

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:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker IDMDS-2890 0 None None None 2023-03-29 15:02:48 UTC
Red Hat Issue Tracker IDMDS-3433 0 None None None 2023-07-19 17:04:00 UTC
Red Hat Issue Tracker RHELPLAN-147309 0 None None None 2023-02-01 14:00:55 UTC

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.


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