mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#3820 fix olcReadOnly check
This commit is contained in:
parent
c384e2ed13
commit
21e49339b7
@ -694,7 +694,8 @@ config_generic(ConfigArgs *c) {
|
||||
if ( !c->rvalue_vals ) rc = 1;
|
||||
break;
|
||||
case CFG_RO:
|
||||
c->value_int = (c->be->be_restrictops & SLAP_RESTRICT_OP_WRITES) != 0;
|
||||
c->value_int = (c->be->be_restrictops & SLAP_RESTRICT_OP_WRITES) ==
|
||||
SLAP_RESTRICT_OP_WRITES;
|
||||
break;
|
||||
case CFG_AZPOLICY:
|
||||
c->value_string = ch_strdup( slap_sasl_getpolicy());
|
||||
|
Loading…
Reference in New Issue
Block a user