diff options
author | Michael Adam <obnox@samba.org> | 2008-07-30 13:02:36 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-08-01 16:07:04 +0200 |
commit | f060b744efe6af1ad1a21e9e155b30eab502f81a (patch) | |
tree | f64c3002cfc84f0ba209d6a2396f05ffa790d4ad /source3/utils | |
parent | ab5a6712b6cc83716ad73d99d3235ecafa8d5717 (diff) | |
download | samba-f060b744efe6af1ad1a21e9e155b30eab502f81a.tar.gz samba-f060b744efe6af1ad1a21e9e155b30eab502f81a.tar.bz2 samba-f060b744efe6af1ad1a21e9e155b30eab502f81a.zip |
libnet dssync: support lists of dns (instead of one dn) for single object replication.
Just specify several DNs separated by spaces on the command line of
"net rpc vampire keytab" to get the passwords for each of these
accouns via single object replication.
Michael
(This used to be commit 6e53dc2db882d88470be5dfa1155b420fac8e6c5)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net_rpc_samsync.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/net_rpc_samsync.c b/source3/utils/net_rpc_samsync.c index 1e477e3a09..77911f4d5e 100644 --- a/source3/utils/net_rpc_samsync.c +++ b/source3/utils/net_rpc_samsync.c @@ -302,7 +302,8 @@ static NTSTATUS rpc_vampire_keytab_ds_internals(struct net_context *c, ctx->output_filename = argv[0]; } if (argc >= 2) { - ctx->object_dn = argv[1]; + ctx->object_dns = &argv[1]; + ctx->object_count = argc - 1; ctx->single = true; } |