RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2166332 - [RFE] Fine-grained configuration to password updates by admin users. [NEEDINFO]
Summary: [RFE] Fine-grained configuration to password updates by admin users.
Keywords:
Status: CLOSED ERRATA
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: 2024-02-27 13:34 UTC (History)
9 users (show)

Fixed In Version: 389-ds-base-1.4.3.36-2.module+el8.9.0+19332+3ffa8e10
Doc Type: Enhancement
Doc Text:
.New `passwordAdminSkipInfoUpdate: on/off` configuration option is now available You can add a new `passwordAdminSkipInfoUpdate: on/off` setting under the `cn=config` entry to provide a fine grained control over password updates performed by password administrators. When you enable this setting, password updates do not update certain attributes, for example, `passwordHistory`,`passwordExpirationTime`,`passwordRetryCount`, `pwdReset`, and `passwordExpWarned`.
Clone Of:
Environment:
Last Closed: 2023-11-14 15:32:25 UTC
Type: Bug
Target Upstream Version:
Embargoed:
vashirov: needinfo? (dcamilof)


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 5770 0 None closed RFE - Extend Password Adminstrators to allow skipping password info updates 2023-09-26 23:43:58 UTC
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
Red Hat Product Errata RHBA-2023:6965 0 None None None 2023-11-14 15:33:08 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.

Comment 19 errata-xmlrpc 2023-11-14 15:32:25 UTC
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 (389-ds:1.4 bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2023:6965


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