]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libnet dssync: rename repl_nodiff flag to force_full_replication.
authorMichael Adam <obnox@samba.org>
Wed, 30 Jul 2008 15:44:22 +0000 (17:44 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 1 Aug 2008 14:07:05 +0000 (16:07 +0200)
Michael

source/libnet/libnet_dssync.c
source/libnet/libnet_dssync.h
source/utils/net_rpc_samsync.c

index f3b236382489581e893cbc2e526913a9daf2cc01..8f13cc8e24b15a1f454e8b67a93f5ab1528f465d 100644 (file)
@@ -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) {
index 56de46ff345ad152386769cbff06eeacd02a9418..064763d5893a03ec28e1d39697fd9091586e9a2a 100644 (file)
@@ -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;
index 77911f4d5e410ee748260b6d9ba2941d3f8ff698..85b524c0a49dd40890b36b5d02fdddd2a1b88f2f 100644 (file)
@@ -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];