]> git.sur5r.net Git - openldap/commitdiff
FIx olcMirrorMode keyword
authorHoward Chu <hyc@openldap.org>
Tue, 7 Mar 2006 12:48:46 +0000 (12:48 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 7 Mar 2006 12:48:46 +0000 (12:48 +0000)
servers/slapd/bconfig.c

index b24e97a7711565be3988881a7fbf4a5513e3862f..4e2d7f2b64f3ffca729382b8346d8d8dc098006f 100644 (file)
@@ -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;