]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libnet dssync: fix single object replication by adding one check.
authorMichael Adam <obnox@samba.org>
Wed, 30 Jul 2008 10:31:38 +0000 (12:31 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 1 Aug 2008 14:07:04 +0000 (16:07 +0200)
Before, this used the old uptodate vector in the request...

Michael

source/libnet/libnet_dssync.c

index 11ebf2ae3b9b02e81e931fcb6d43949f7578b845..068491e6bb0f4491c626c7183b65105b79ae9e47 100644 (file)
@@ -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) {