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
3635dc43
Commit
3635dc43
authored
Jan 04, 2011
by
Quanah Gibson-Mount
Browse files
ITS#6768
parent
101090f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
3635dc43
...
@@ -42,6 +42,7 @@ OpenLDAP 2.4.24 Engineering
...
@@ -42,6 +42,7 @@ OpenLDAP 2.4.24 Engineering
Fixed slapd extensible match for ordering rules (ITS#6532)
Fixed slapd extensible match for ordering rules (ITS#6532)
Fixed slapd when first acl is value dependent (ITS#6693)
Fixed slapd when first acl is value dependent (ITS#6693)
Fixed slapd modify to return actual error (ITS#6581)
Fixed slapd modify to return actual error (ITS#6581)
Fixed slapd modrdn with empty DN (ITS#6768)
Fixed slapd sortvals of attributes with 1 value (ITS#6715)
Fixed slapd sortvals of attributes with 1 value (ITS#6715)
Fixed slapd syncrepl reuse of presence list (ITS#6707)
Fixed slapd syncrepl reuse of presence list (ITS#6707)
Fixed slapd syncrepl unitialized return code (ITS#6719)
Fixed slapd syncrepl unitialized return code (ITS#6719)
...
...
servers/slapd/modrdn.c
View file @
3635dc43
...
@@ -392,7 +392,9 @@ slap_modrdn2mods(
...
@@ -392,7 +392,9 @@ slap_modrdn2mods(
LDAPRDN
new_rdn
=
NULL
;
LDAPRDN
new_rdn
=
NULL
;
assert
(
!
BER_BVISEMPTY
(
&
op
->
oq_modrdn
.
rs_newrdn
)
);
assert
(
!
BER_BVISEMPTY
(
&
op
->
oq_modrdn
.
rs_newrdn
)
);
assert
(
!
op
->
orr_deleteoldrdn
||
!
BER_BVISEMPTY
(
&
op
->
o_req_dn
)
);
/* if requestDN is empty, silently reset deleteOldRDN */
if
(
BER_BVISEMPTY
(
&
op
->
o_req_dn
)
)
op
->
orr_deleteoldrdn
=
0
;
if
(
ldap_bv2rdn_x
(
&
op
->
oq_modrdn
.
rs_newrdn
,
&
new_rdn
,
if
(
ldap_bv2rdn_x
(
&
op
->
oq_modrdn
.
rs_newrdn
,
&
new_rdn
,
(
char
**
)
&
rs
->
sr_text
,
LDAP_DN_FORMAT_LDAP
,
op
->
o_tmpmemctx
)
)
{
(
char
**
)
&
rs
->
sr_text
,
LDAP_DN_FORMAT_LDAP
,
op
->
o_tmpmemctx
)
)
{
...
...
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