diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-01-10 21:53:42 +1100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-01-18 16:23:24 +0100 |
commit | 9729bdf89f20998823a1dda9e215647a49ca76a6 (patch) | |
tree | 4211e6ee90e5a70c5aac3f7f232675a123825d8c /source3/utils/net_dom.c | |
parent | 34d52532b588497ea0306de59eabdd36c00242bf (diff) | |
download | samba-9729bdf89f20998823a1dda9e215647a49ca76a6.tar.gz samba-9729bdf89f20998823a1dda9e215647a49ca76a6.tar.xz samba-9729bdf89f20998823a1dda9e215647a49ca76a6.zip |
s3-utils/net: pass struct ndr_interface_table down
This will allow the target service (as determined from the IDL) to be
passed to GSSAPI (rather than the current, incorrect, "cifs").
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/utils/net_dom.c')
-rw-r--r-- | source3/utils/net_dom.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/utils/net_dom.c b/source3/utils/net_dom.c index 2b67b7b2fe..b2f02a4f4f 100644 --- a/source3/utils/net_dom.c +++ b/source3/utils/net_dom.c @@ -111,14 +111,14 @@ static int net_dom_unjoin(struct net_context *c, int argc, const char **argv) c->opt_timeout = 30; ret = run_rpc_command(c, cli, - &ndr_table_initshutdown.syntax_id, + &ndr_table_initshutdown, 0, rpc_init_shutdown_internals, argc, argv); if (ret == 0) { goto done; } - ret = run_rpc_command(c, cli, &ndr_table_winreg.syntax_id, 0, + ret = run_rpc_command(c, cli, &ndr_table_winreg, 0, rpc_reg_shutdown_internals, argc, argv); goto done; @@ -217,14 +217,14 @@ static int net_dom_join(struct net_context *c, int argc, const char **argv) c->opt_reboot = true; c->opt_timeout = 30; - ret = run_rpc_command(c, cli, &ndr_table_initshutdown.syntax_id, 0, + ret = run_rpc_command(c, cli, &ndr_table_initshutdown, 0, rpc_init_shutdown_internals, argc, argv); if (ret == 0) { goto done; } - ret = run_rpc_command(c, cli, &ndr_table_winreg.syntax_id, 0, + ret = run_rpc_command(c, cli, &ndr_table_winreg, 0, rpc_reg_shutdown_internals, argc, argv); goto done; @@ -314,14 +314,14 @@ static int net_dom_renamecomputer(struct net_context *c, int argc, const char ** c->opt_timeout = 30; ret = run_rpc_command(c, cli, - &ndr_table_initshutdown.syntax_id, + &ndr_table_initshutdown, 0, rpc_init_shutdown_internals, argc, argv); if (ret == 0) { goto done; } - ret = run_rpc_command(c, cli, &ndr_table_winreg.syntax_id, 0, + ret = run_rpc_command(c, cli, &ndr_table_winreg, 0, rpc_reg_shutdown_internals, argc, argv); goto done; |