From efa7f6bff9bec89214dab368ff5efc61fa1cc212 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 25 Mar 2009 15:58:20 +0100 Subject: [PATCH] s3-libnet: Fix Bug #6193: avoid messing with sync_context in libnet_samsync_delta(). We absolutely need to avoid messing with the sync_context as that breaks the stream of replication data coming from the DC (only replicates ~350 instead of ~4000 groups). Guenther (cherry picked from commit e3f7057b0942793543c215ab45176c4280bd7d51) --- source/libnet/libnet_samsync.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/source/libnet/libnet_samsync.c b/source/libnet/libnet_samsync.c index 87b3f9c6bda..5c4774b9e38 100644 --- a/source/libnet/libnet_samsync.c +++ b/source/libnet/libnet_samsync.c @@ -422,9 +422,6 @@ static NTSTATUS libnet_samsync_delta(TALLOC_CTX *mem_ctx, TALLOC_FREE(delta_enum_array); - /* Increment sync_context */ - sync_context += 1; - } while (NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES)); out: -- 2.11.4.GIT