s3-libnet: Fix Bug #6193: avoid messing with sync_context in libnet_samsync_delta().
authorGünther Deschner <gd@samba.org>
Wed, 25 Mar 2009 14:58:20 +0000 (15:58 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 25 Mar 2009 15:13:09 +0000 (16:13 +0100)
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

index 87b3f9c6bda44fb7bbba1fd2804f1e372d66ba95..5c4774b9e38e368746ce1b500cf9bc206320b990 100644 (file)
@@ -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: