Commit 3635dc43 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6768

parent 101090f8
...@@ -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)
......
...@@ -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 ) ) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment