r23762: Fix DN renames over LDAP, and instrument the partition module. Add a
[samba.git] / source4 / ldap_server / ldap_backend.c
index fa8c07fa5529dd235b334fc7787adb178a10a4eb..bfcdbd2dc1ee22c9d8ada8cd9db9c1835da072e1 100644 (file)
@@ -621,6 +621,7 @@ static NTSTATUS ldapsrv_ModifyDNRequest(struct ldapsrv_call *call)
                result = LDAP_OTHER;
                goto reply;
        }
+       newdn = parentdn;
 
 reply:
        modifydn_r = ldapsrv_init_reply(call, LDAP_TAG_ModifyDNResponse);