Bug 1813193 - "Lockout Account Forever" is checked again after pressing save button on cockpit
Summary: "Lockout Account Forever" is checked again after pressing save button on cockpit
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: cockpit-389-ds
Version: 11.0
Hardware: All
OS: Linux
high
high
Target Milestone: DS11.1
: dirsrv-11.1
Assignee: mreynolds
QA Contact: RHDS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-13 08:32 UTC by kyoneyama
Modified: 2023-09-07 22:22 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-29 08:04:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1961 0 None None None 2020-04-29 08:04:49 UTC

Description kyoneyama 2020-03-13 08:32:04 UTC
Description of problem:


Account lockout settings changed from cockpit is not set correctly.

Uncheck "Lockout Account Forever" in Account Lockout Settings for RHDS, but it will be checked again even if save the settings.



Version-Release number of selected component (if applicable):

- 389-ds-base-1.4.1.10-1.
- cockpit-196.3-1.el8
- cockpit-389-ds-1.4.1.10-1.module+el8dsrv+575+0d8b81fc


How reproducible:

Always

Steps to Reproduce:

1. Install the package to manage RHDS from cockpit

  # yum install cockpit-389-ds

2. Log in to cockpit UI
3. Click 'Red Hat Directory Server' on Left pane
4. Click the menu in this order: "Server Settings > Password Policy > Global Password Policy"
5. See 'Account Lockout Settings'
6. Check "Enable Account Lockout"
7. Check "Time Until Account Unlocked" and make sure "Lockout Account Forever" is unchecked
8. Press save button at the bottom of the page.


Actual results:

- "Lockout Account Forever" is checked again after pressing save button.
- The attribute passwordUnlock doesn't exist.


Expected results:

- "Lockout Account Forever" keeps unchecked after ressing save button.
- The attribute passwordUnlock is set to on.

Comment 1 Martin Pitt 2020-03-19 12:26:04 UTC
cockpit-389-ds is built by the 389-ds project, so reassigning.

Comment 2 Viktor Ashirov 2020-03-20 09:49:41 UTC
This was fixed in the upcoming RHDS 11.1 build:
cockpit-389-ds-1.4.2.9-1.module+el8dsrv+6001+1cbc6dcf.noarch

When I modify "Do Not Lockout Account Forever", I see that the change also happens on the server side:

time: 20200320044359
dn: cn=config
result: 0
changetype: modify
replace: passwordUnlock
passwordUnlock: on
-
replace: modifiersname
modifiersname: cn=Directory Manager
-
replace: modifytimestamp
modifytimestamp: 20200320084359Z
-

time: 20200320044401
dn: cn=config
result: 0
changetype: modify
replace: passwordUnlock
passwordUnlock: off
-
replace: modifiersname
modifiersname: cn=Directory Manager
-
replace: modifytimestamp
modifytimestamp: 20200320084401Z
-

Comment 6 Viktor Ashirov 2020-04-20 12:48:46 UTC
Build tested: cockpit-389-ds-1.4.2.12-1.module+el8dsrv+6328+f04d7471.noarch

I see the same behaviour as in comment #2, marking as VERIFIED.

Comment 8 errata-xmlrpc 2020-04-29 08:04:40 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, 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-2020:1961


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