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
Дилян Палаузов
OpenLDAP
Commits
6237ae17
Commit
6237ae17
authored
Aug 06, 2021
by
Howard Chu
Browse files
ITS#9611 bconfig: canonicalize structuralObjectclass
parent
94b361ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/bconfig.c
View file @
6237ae17
...
...
@@ -5685,7 +5685,16 @@ config_add_internal( CfBackInfo *cfb, Entry *e, ConfigArgs *ca, SlapReply *rs,
}
ca
->
ca_op
=
op
;
co
.
co_name
=
&
soc_at
->
a_nvals
[
0
];
{
ObjectClass
*
soc
=
oc_bvfind
(
&
soc_at
->
a_nvals
[
0
]
);
if
(
!
soc
)
{
Debug
(
LDAP_DEBUG_TRACE
,
"%s: config_add_internal: "
"DN=
\"
%s
\"
invalid structural objectClass %s
\n
"
,
log_prefix
,
e
->
e_name
.
bv_val
,
soc_at
->
a_vals
[
0
].
bv_val
);
return
LDAP_OBJECT_CLASS_VIOLATION
;
}
co
.
co_name
=
&
soc
->
soc_cname
;
}
coptr
=
ldap_avl_find
(
CfOcTree
,
&
co
,
CfOc_cmp
);
if
(
coptr
==
NULL
)
{
Debug
(
LDAP_DEBUG_TRACE
,
"%s: config_add_internal: "
...
...
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