From 8a0284cf04bc9c2a06e072dfbe3e54292235a631 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 29 Jul 2009 09:21:50 +0000 Subject: [PATCH] ITS#5946 always allow mirrormode to be set to FALSE --- 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 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", -- 2.39.5