From 0099c4b0c7500ee395802f099fb12db08eee9faf Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 30 Jul 2008 12:31:38 +0200 Subject: libnet dssync: fix single object replication by adding one check. Before, this used the old uptodate vector in the request... Michael (This used to be commit 04fb9322d5f52d5cb3d9fe2a95dbfb2481ab7f9d) --- source3/libnet/libnet_dssync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/libnet/libnet_dssync.c b/source3/libnet/libnet_dssync.c index 11ebf2ae3b..068491e6bb 100644 --- a/source3/libnet/libnet_dssync.c +++ b/source3/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) { -- cgit