mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r25729: Fix silly regression in the subtree_rename - I broke normal renames.
Bug 5041
Andrew Bartlett
(This used to be commit 7e68051bb7
)
This commit is contained in:
parent
74a2b05793
commit
33201d1df2
@ -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