From 04fb9322d5f52d5cb3d9fe2a95dbfb2481ab7f9d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 30 Jul 2008 12:31:38 +0200 Subject: [PATCH] libnet dssync: fix single object replication by adding one check. Before, this used the old uptodate vector in the request... Michael --- source/libnet/libnet_dssync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libnet/libnet_dssync.c b/source/libnet/libnet_dssync.c index 11ebf2ae3b9..068491e6bb0 100644 --- a/source/libnet/libnet_dssync.c +++ b/source/libnet/libnet_dssync.c @@ -392,7 +392,7 @@ static NTSTATUS libnet_dssync_build_request(TALLOC_CTX *mem_ctx, nc->guid = GUID_zero(); nc->sid = null_sid; - if (!ctx->repl_nodiff && utdv) { + if (!ctx->single && !ctx->repl_nodiff && utdv) { cursors = TALLOC_ZERO_P(mem_ctx, struct drsuapi_DsReplicaCursorCtrEx); if (!cursors) { -- 2.47.3