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
Joe Martin
OpenLDAP
Commits
4a60e78e
Commit
4a60e78e
authored
Mar 04, 2011
by
Howard Chu
Committed by
Quanah Gibson-Mount
Sep 06, 2011
Browse files
More for #6561 - delete returns NO_SUCH_ATTRIBUTE, not TYPE_OR_VALUE_EXISTS
parent
9e5af510
Changes
1
Show whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/modify.c
View file @
4a60e78e
...
...
@@ -153,7 +153,6 @@ int bdb_modify_internal(
mod
->
sm_desc
->
ad_cname
.
bv_val
,
0
,
0
);
err
=
modify_delete_values
(
e
,
mod
,
get_permissiveModify
(
op
),
text
,
textbuf
,
textlen
);
assert
(
err
!=
LDAP_TYPE_OR_VALUE_EXISTS
);
if
(
err
!=
LDAP_SUCCESS
)
{
Debug
(
LDAP_DEBUG_ARGS
,
"bdb_modify_internal: %d %s
\n
"
,
err
,
*
text
,
0
);
...
...
@@ -229,7 +228,7 @@ int bdb_modify_internal(
mod
->
sm_op
=
SLAP_MOD_SOFTDEL
;
if
(
err
==
LDAP_
TYPE_OR_VALUE_EXISTS
)
{
if
(
err
==
LDAP_
NO_SUCH_ATTRIBUTE
)
{
err
=
LDAP_SUCCESS
;
}
...
...
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