Commit 2349373d authored by Howard Chu's avatar Howard Chu
Browse files

Don't allow changes to the monitor database

parent 932c79ea
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment