mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
ITS#5946 always allow mirrormode to be set to FALSE
This commit is contained in:
parent
bf69b8e065
commit
8a0284cf04
@ -1859,7 +1859,7 @@ sortval_reject:
|
||||
break;
|
||||
|
||||
case CFG_MIRRORMODE:
|
||||
if(!SLAP_SHADOW(c->be)) {
|
||||
if(c->value_int && !SLAP_SHADOW(c->be)) {
|
||||
snprintf( c->cr_msg, sizeof( c->cr_msg ), "<%s> database is not a shadow",
|
||||
c->argv[0] );
|
||||
Debug(LDAP_DEBUG_ANY, "%s: %s\n",
|
||||
|
Loading…
Reference in New Issue
Block a user