Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
514f605e
Commit
514f605e
authored
Dec 28, 2001
by
Howard Chu
Browse files
Fix modrdn newSuperior checks
parent
d6a37432
Changes
2
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-bdb/modrdn.c
View file @
514f605e
...
...
@@ -268,7 +268,7 @@ retry: /* transaction retry */
new_parent_dn
=
&
p_dn
;
/* New Parent unless newSuperior given */
if
(
newSuperior
!=
NULL
)
{
if
(
newSuperior
->
bv_val
!=
NULL
)
{
Debug
(
LDAP_DEBUG_TRACE
,
"bdb_modrdn: new parent
\"
%s
\"
requested...
\n
"
,
newSuperior
->
bv_val
,
0
,
0
);
...
...
servers/slapd/back-ldbm/modrdn.c
View file @
514f605e
...
...
@@ -281,7 +281,7 @@ ldbm_back_modrdn(
new_parent_dn
=
&
p_dn
;
/* New Parent unless newSuperior given */
if
(
newSuperior
!=
NULL
)
{
if
(
newSuperior
->
bv_val
!=
NULL
)
{
#ifdef NEW_LOGGING
LDAP_LOG
((
"backend"
,
LDAP_LEVEL_DETAIL1
,
"ldbm_back_modrdn: new parent
\"
%s
\"
requested
\n
"
,
...
...
@@ -314,7 +314,7 @@ ldbm_back_modrdn(
}
}
if
(
newSuperior
!=
NULL
)
{
if
(
newSuperior
&&
newSuperior
->
bv_val
!=
NULL
)
{
/* newSuperior == entry being moved?, if so ==> ERROR */
/* Get Entry with dn=newSuperior. Does newSuperior exist? */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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