ITS#5946 always allow mirrormode to be set to FALSE

This commit is contained in:
Howard Chu 2009-07-29 09:21:50 +00:00
parent bf69b8e065
commit 8a0284cf04

View File

@ -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",