mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Don't allow changes to the monitor database
This commit is contained in:
parent
932c79eac5
commit
2349373daf
@ -265,6 +265,9 @@ monitor_subsys_database_modify(
|
||||
return LDAP_NO_SUCH_OBJECT;
|
||||
|
||||
be = &backendDB[n];
|
||||
if ( SLAP_MONITOR(be) )
|
||||
return LDAP_UNWILLING_TO_PERFORM;
|
||||
|
||||
cur = (be->be_restrictops & SLAP_RESTRICT_OP_WRITES) ? 1 : 0;
|
||||
|
||||
save_attrs = e->e_attrs;
|
||||
|
Loading…
Reference in New Issue
Block a user