1
0
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 used to be commit 7e68051bb7)
This commit is contained in:
Andrew Bartlett 2007-10-25 11:07:30 +02:00 committed by Stefan Metzmacher
parent 74a2b05793
commit 33201d1df2

View File

@ -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;