From 6e2154b50e174f7b9ed0629bc5c596aebf594f3b Mon Sep 17 00:00:00 2001 From: Simon Pichugin Date: Wed, 18 Dec 2024 20:33:03 -0800 Subject: [PATCH] qwe --- src/cockpit/389-console/src/lib/database/globalPwp.jsx | 6 ++++++ src/lib389/lib389/cli_conf/plugins/pwstorage.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/cockpit/389-console/src/lib/database/globalPwp.jsx b/src/cockpit/389-console/src/lib/database/globalPwp.jsx index 743335721..7429806d0 100644 --- a/src/cockpit/389-console/src/lib/database/globalPwp.jsx +++ b/src/cockpit/389-console/src/lib/database/globalPwp.jsx @@ -246,6 +246,12 @@ export class GlobalPwPolicy extends React.Component { if (!this.state.savePasswordStorageDisabled) { this.handleSavePasswordStorage(); } + if (this.state.saveGeneralDisabled) { + this.setState({ + saving: false + }); + return; + } const cmd = [ 'dsconf', '-j', "ldapi://%2fvar%2frun%2fslapd-" + this.props.serverId + ".socket", diff --git a/src/lib389/lib389/cli_conf/plugins/pwstorage.py b/src/lib389/lib389/cli_conf/plugins/pwstorage.py index e2b2ccbe3..2ec66b795 100644 --- a/src/lib389/lib389/cli_conf/plugins/pwstorage.py +++ b/src/lib389/lib389/cli_conf/plugins/pwstorage.py @@ -34,7 +34,7 @@ def pbkdf2_get_iterations(inst, basedn, log, args): log = log.getChild('pbkdf2_get_iterations') plugin = _get_pbkdf2_plugin(inst, args.variant) - attr = 'nsslapd-pwdPBKDF2NumIterations' + attr = 'nsslapd-pwdpbkdf2numiterations' if hasattr(args, 'json') and args.json: vals = {}