Skip to content
Snippets Groups Projects
Commit 2349373d authored by Howard Chu's avatar Howard Chu
Browse files

Don't allow changes to the monitor database

parent 932c79ea
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment