mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 18:19:52 -05:00
ITS#6963 config entries' objectclass is read-only
This commit is contained in:
parent
3fb9d604ef
commit
1b08936565
1 changed files with 5 additions and 0 deletions
|
|
@ -5561,6 +5561,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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue