summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_samsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/net_rpc_samsync.c')
-rw-r--r--source3/utils/net_rpc_samsync.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c
index 3731edaaf1..14449d5f49 100644
--- a/source3/utils/net_rpc_samsync.c
+++ b/source3/utils/net_rpc_samsync.c
@@ -304,7 +304,8 @@ static NTSTATUS rpc_vampire_keytab_ds_internals(struct net_context *c,
if (argc >= 2) {
ctx->object_dns = &argv[1];
ctx->object_count = argc - 1;
- ctx->single_object_replication = true;
+ ctx->single_object_replication = c->opt_single_obj_repl ? true
+ : false;
}
ctx->cli = pipe_hnd;