Commit b850f4ff authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#6963 config entries' objectclass is read-only

parent 20ce79b5
......@@ -5369,6 +5369,11 @@ config_modify_internal( CfEntryInfo *ce, Operation *op, SlapReply *rs,
oc_at = attr_find( e->e_attrs, slap_schema.si_ad_objectClass );
if ( !oc_at ) return LDAP_OBJECT_CLASS_VIOLATION;
for (ml = op->orm_modlist; ml; ml=ml->sml_next) {
if (ml->sml_desc == slap_schema.si_ad_objectClass)
return rc;
colst = count_ocs( oc_at, &nocs );
/* make sure add/del flags are clear; should always be true */
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