summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-30 12:31:38 +0200
committerMichael Adam <obnox@samba.org>2008-08-01 16:07:04 +0200
commit0099c4b0c7500ee395802f099fb12db08eee9faf (patch)
tree67cb9582f86e21d099ee9052494a7815ff92c537 /source3/libnet
parent9e1eccc9112eb64cfd64781941811267a02866de (diff)
downloadsamba-0099c4b0c7500ee395802f099fb12db08eee9faf.tar.gz
samba-0099c4b0c7500ee395802f099fb12db08eee9faf.tar.bz2
samba-0099c4b0c7500ee395802f099fb12db08eee9faf.zip
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)
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_dssync.c2
1 files changed, 1 insertions, 1 deletions
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) {