mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
ITS#3820 fix olcReadOnly check
This commit is contained in:
parent
c384e2ed13
commit
21e49339b7
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue