From: Günther Deschner Date: Wed, 25 Mar 2009 14:58:20 +0000 (+0100) Subject: s3-libnet: Fix Bug #6193: avoid messing with sync_context in libnet_samsync_delta(). X-Git-Tag: tdb-1.1.5~1069^2~13 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=e3f7057b0942793543c215ab45176c4280bd7d51 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 --- diff --git a/source3/libnet/libnet_samsync.c b/source3/libnet/libnet_samsync.c index 73d44397439..0c00b8518ae 100644 --- a/source3/libnet/libnet_samsync.c +++ b/source3/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: