Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tero Saarni
OpenLDAP
Commits
b850f4ff
Commit
b850f4ff
authored
Jun 04, 2011
by
Howard Chu
Committed by
Quanah Gibson-Mount
Jun 08, 2011
Browse files
ITS#6963 config entries' objectclass is read-only
parent
20ce79b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/bconfig.c
View file @
b850f4ff
...
...
@@ -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 */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment