From: Günther Deschner Date: Wed, 25 Mar 2009 16:06:57 +0000 (+0100) Subject: s3-net: Fix Bug #6193: avoid messing with sync_context in fetch_database_to_ldif(). X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a1823c357fb8e01ac0e8c8749e6f5004bf3cf3e;p=thirdparty%2Fsamba.git s3-net: Fix Bug #6193: avoid messing with sync_context in fetch_database_to_ldif(). 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/source/utils/net_rpc_samsync.c b/source/utils/net_rpc_samsync.c index 49e5c1a0bc5..38ba1c5066d 100644 --- a/source/utils/net_rpc_samsync.c +++ b/source/utils/net_rpc_samsync.c @@ -2253,9 +2253,6 @@ static NTSTATUS fetch_database_to_ldif(struct rpc_pipe_client *pipe_hnd, } /* end of switch */ } /* end of for loop */ - /* Increment sync_context */ - sync_context += 1; - } while (NT_STATUS_EQUAL(result, STATUS_MORE_ENTRIES)); /* Write ldif data to the user's file */