From 2c7f30061933e3bc65477ea2d9561b264497a6c9 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 7 Mar 2006 12:48:46 +0000 Subject: [PATCH] FIx olcMirrorMode keyword --- 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 b24e97a771..4e2d7f2b64 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -898,7 +898,7 @@ config_generic(ConfigArgs *c) { c->value_int = (SLAP_NOLASTMOD(c->be) == 0); break; case CFG_MIRRORMODE: - c->value_int = (SLAP_SINGLE_SHADOW(c->be) == 0); + c->value_int = (SLAP_SHADOW(c->be) && (SLAP_SINGLE_SHADOW(c->be) == 0)); break; case CFG_SSTR_IF_MAX: c->value_int = index_substr_if_maxlen; -- 2.39.5