1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00

r19532: oops forgot this

(This used to be commit 9af225e319838a33141daa450473c157ecd65cd3)
This commit is contained in:
Simo Sorce 2006-11-02 00:32:42 +00:00 committed by Gerald (Jerry) Carter
parent b7774527fa
commit 9ec6f0a3a1

View File

@ -463,8 +463,8 @@ static int lldb_rename(struct ldb_module *module, struct ldb_request *req)
}
newrdn = talloc_asprintf(lldb_ac, "%s=%s",
req->op.rename.newdn->components[0].name,
ldb_dn_escape_value(lldb, req->op.rename.newdn->components[0].value));
ldb_dn_get_rdn_name(req->op.rename.newdn),
ldb_dn_escape_value(lldb, *(ldb_dn_get_rdn_val(req->op.rename.newdn))));
if (!newrdn) {
return LDB_ERR_OPERATIONS_ERROR;
}