1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

net rpc vampire: rename --repl-nodiff to --force-full-repl.

This more clear.

Michael
(This used to be commit 0ddde9aae8)
This commit is contained in:
Michael Adam 2008-07-30 17:46:13 +02:00
parent 072bd87194
commit 5330164ec4
3 changed files with 3 additions and 3 deletions

View File

@ -653,7 +653,7 @@ static struct functable net_func[] = {
{"destination", 0, POPT_ARG_STRING, &c->opt_destination},
{"tallocreport", 0, POPT_ARG_NONE, &c->do_talloc_report},
/* Options for 'net rpc vampire (keytab)' */
{"repl-nodiff", 0, POPT_ARG_NONE, &c->opt_repl_nodiff},
{"force-full-repl", 0, POPT_ARG_NONE, &c->opt_force_full_repl},
POPT_COMMON_SAMBA
{ 0, 0, 0, 0}

View File

@ -57,7 +57,7 @@ struct net_context {
const char *opt_destination;
int opt_testmode;
bool opt_kerberos;
int opt_repl_nodiff;
int opt_force_full_repl;
int opt_have_ip;
struct sockaddr_storage opt_dest_ip;

View File

@ -296,7 +296,7 @@ static NTSTATUS rpc_vampire_keytab_ds_internals(struct net_context *c,
return status;
}
ctx->force_full_replication = c->opt_repl_nodiff ? true : false;
ctx->force_full_replication = c->opt_force_full_repl ? true : false;
if (argc >= 1) {
ctx->output_filename = argv[0];