repl_meta_data: Do not set *rename = true unless there has been a conflict on the...
authorAndrew Bartlett <abartlet@samba.org>
Fri, 6 Dec 2019 05:15:16 +0000 (18:15 +1300)
committerKarolin Seeger <kseeger@samba.org>
Tue, 21 Jan 2020 10:11:39 +0000 (10:11 +0000)
The normal case of a partner-sent rename is not a cause for updating the replPropertyMetaData

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c

index 3daac119741f7fd8d23e0170b8a36c7ea1c9ec62..e675a8b3edef5568d2a41622e2ff4d3c15a28970 100644 (file)
@@ -5907,7 +5907,6 @@ static int replmd_replicated_handle_rename(struct replmd_replicated_request *ar,
                                 DSDB_FLAG_NEXT_MODULE, ar->req);
        if (ret == LDB_SUCCESS) {
                talloc_free(tmp_ctx);
-               *renamed = true;
                return ret;
        }