summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-25 17:06:57 +0100
committerKarolin Seeger <kseeger@samba.org>2009-03-27 13:06:56 +0100
commitaccce80f82e6978e062a71e89ef150bb71f6e61e (patch)
treecd2d262859878f70c57fc9556007b626468cdb47
parent9717135c53a64462bb57e3e31cdceec4b58f82b7 (diff)
downloadsamba-accce80f82e6978e062a71e89ef150bb71f6e61e.tar.gz
samba-accce80f82e6978e062a71e89ef150bb71f6e61e.tar.xz
samba-accce80f82e6978e062a71e89ef150bb71f6e61e.zip
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 (cherry picked from commit 1a1823c357fb8e01ac0e8c8749e6f5004bf3cf3e)
-rw-r--r--source/utils/net_rpc_samsync.c3
1 files changed, 0 insertions, 3 deletions
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 */