diff options
author | Michael Adam <obnox@samba.org> | 2008-07-30 17:44:22 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-01 16:07:05 +0200 |
commit | 072bd871946134b3c5e57809b4831ed6fe5586b2 (patch) | |
tree | bd55bcf4109d4be8fb567fdc38f790adf875e606 /source3 | |
parent | f060b744efe6af1ad1a21e9e155b30eab502f81a (diff) | |
download | samba-072bd871946134b3c5e57809b4831ed6fe5586b2.tar.gz samba-072bd871946134b3c5e57809b4831ed6fe5586b2.tar.bz2 samba-072bd871946134b3c5e57809b4831ed6fe5586b2.zip |
libnet dssync: rename repl_nodiff flag to force_full_replication.
Michael
(This used to be commit ec959b4609c3f4927a9f2811c46d738f9c78a914)
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]; |