summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_samsync.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-31 23:05:45 +0200
committerMichael Adam <obnox@samba.org>2008-08-01 16:07:59 +0200
commit03b6502dc69647e4410eca5bcf0f93fd5eba3fa9 (patch)
tree8b0cf93b10c445ff966b4fac828f5eea188a4645 /source3/utils/net_rpc_samsync.c
parentefd89b46d6a66e4a4d17e7cdc400e9e3890b7970 (diff)
downloadsamba-03b6502dc69647e4410eca5bcf0f93fd5eba3fa9.tar.gz
samba-03b6502dc69647e4410eca5bcf0f93fd5eba3fa9.tar.bz2
samba-03b6502dc69647e4410eca5bcf0f93fd5eba3fa9.zip
vampire keytab: introduce switch --single-obj-repl.
This controls whether single object replication is to be used. This only has an effect when at least one object dn is given on the commandline. NOTE: Now the default is to use normal replication with uptodateness vectors and use object dns given on the command line as a positive write filter. Single object replication is only performed when this new switch is specified. Michael (This used to be commit 0f81111ea8c049eb60f98d4939e520a5a562d2e6)
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;