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;