mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
r25729: Fix silly regression in the subtree_rename - I broke normal renames.
Bug 5041 Andrew Bartlett
This commit is contained in:
parent
5648c8a0de
commit
7e68051bb7
@ -97,7 +97,7 @@ static int subtree_rename_search_callback(struct ldb_context *ldb, void *context
|
||||
|
||||
/* Only entries are interesting, and we handle the case of the parent seperatly */
|
||||
if (ares->type == LDB_REPLY_ENTRY
|
||||
&& ldb_dn_compare(ares->message->dn, ac->orig_req->op.rename.olddn) == 0) {
|
||||
&& ldb_dn_compare(ares->message->dn, ac->orig_req->op.rename.olddn) != 0) {
|
||||
/* And it is an actual entry: now create a rename from it */
|
||||
int ret;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user