summaryrefslogtreecommitdiff
path: root/source3/libnet/libnet_samsync.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-25 15:58:20 +0100
committerGünther Deschner <gd@samba.org>2009-03-25 16:09:13 +0100
commite3f7057b0942793543c215ab45176c4280bd7d51 (patch)
treebc6cbef1967fde7d0b876d4bab7b98be7969f034 /source3/libnet/libnet_samsync.c
parent283e135298767f128c413e0e6df75d21ec8e8e6b (diff)
downloadsamba-e3f7057b0942793543c215ab45176c4280bd7d51.tar.gz
samba-e3f7057b0942793543c215ab45176c4280bd7d51.tar.bz2
samba-e3f7057b0942793543c215ab45176c4280bd7d51.zip
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
Diffstat (limited to 'source3/libnet/libnet_samsync.c')
-rw-r--r--source3/libnet/libnet_samsync.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/libnet/libnet_samsync.c b/source3/libnet/libnet_samsync.c
index 73d4439743..0c00b8518a 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: