From: Howard Chu Date: Tue, 7 Mar 2006 12:48:46 +0000 (+0000) Subject: FIx olcMirrorMode keyword X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~135 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2c7f30061933e3bc65477ea2d9561b264497a6c9;p=openldap FIx olcMirrorMode keyword --- 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;