From: Howard Chu Date: Wed, 29 Jul 2009 09:21:50 +0000 (+0000) Subject: ITS#5946 always allow mirrormode to be set to FALSE X-Git-Tag: ACLCHECK_0~390 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8a0284cf04bc9c2a06e072dfbe3e54292235a631;p=openldap ITS#5946 always allow mirrormode to be set to FALSE --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index e4ccd84d0a..2e141fa8c4 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -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",