From e96bfd088e34cec005fa6f8f9793679975828b1e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Thu, 18 Nov 2021 16:00:52 +0000 Subject: [PATCH] ITS#9750 olcPasswordHash can only be made global in cn=config --- servers/slapd/bconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index ad08090cae..f69177a100 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -2672,7 +2672,7 @@ config_passwd_hash(ConfigArgs *c) { } return 0; } - if ( c->table == Cft_Global ) { + if ( c->op == LDAP_MOD_ADD && c->table == Cft_Global ) { Debug( LDAP_DEBUG_ANY, "%s: setting password scheme in the global " "entry is deprecated. The server may refuse to start if " "it is provided by a loadable module, please move it to " -- 2.47.3