diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libnet/libnet_dssync.c | 2 | ||||
-rw-r--r-- | source3/libnet/libnet_dssync.h | 2 | ||||
-rw-r--r-- | source3/utils/net_rpc_samsync.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/libnet/libnet_dssync.c b/source3/libnet/libnet_dssync.c index f3b2363824..8f13cc8e24 100644 --- a/source3/libnet/libnet_dssync.c +++ b/source3/libnet/libnet_dssync.c @@ -401,7 +401,7 @@ static NTSTATUS libnet_dssync_build_request(TALLOC_CTX *mem_ctx, nc->guid = GUID_zero(); nc->sid = null_sid; - if (!ctx->single && !ctx->repl_nodiff && utdv) { + if (!ctx->single && !ctx->force_full_replication && utdv) { cursors = TALLOC_ZERO_P(mem_ctx, struct drsuapi_DsReplicaCursorCtrEx); if (!cursors) { diff --git a/source3/libnet/libnet_dssync.h b/source3/libnet/libnet_dssync.h index 56de46ff34..064763d589 100644 --- a/source3/libnet/libnet_dssync.h +++ b/source3/libnet/libnet_dssync.h @@ -36,7 +36,7 @@ struct dssync_context { struct rpc_pipe_client *cli; const char *nc_dn; bool single; - bool repl_nodiff; + bool force_full_replication; uint32_t object_count; const char **object_dns; struct policy_handle bind_handle; diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c index 77911f4d5e..85b524c0a4 100644 --- a/source3/utils/net_rpc_samsync.c +++ b/source3/utils/net_rpc_samsync.c @@ -296,7 +296,7 @@ static NTSTATUS rpc_vampire_keytab_ds_internals(struct net_context *c, return status; } - ctx->repl_nodiff = c->opt_repl_nodiff ? true : false; + ctx->force_full_replication = c->opt_repl_nodiff ? true : false; if (argc >= 1) { ctx->output_filename = argv[0]; |