summaryrefslogtreecommitdiff
path: root/source3/utils/net_rpc_conf.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-01-10 21:53:42 +1100
committerStefan Metzmacher <metze@samba.org>2012-01-18 16:23:24 +0100
commit9729bdf89f20998823a1dda9e215647a49ca76a6 (patch)
tree4211e6ee90e5a70c5aac3f7f232675a123825d8c /source3/utils/net_rpc_conf.c
parent34d52532b588497ea0306de59eabdd36c00242bf (diff)
downloadsamba-9729bdf89f20998823a1dda9e215647a49ca76a6.tar.gz
samba-9729bdf89f20998823a1dda9e215647a49ca76a6.tar.bz2
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_rpc_conf.c')
-rw-r--r--source3/utils/net_rpc_conf.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/source3/utils/net_rpc_conf.c b/source3/utils/net_rpc_conf.c
index 68d5df2edf..3e13b12bd8 100644
--- a/source3/utils/net_rpc_conf.c
+++ b/source3/utils/net_rpc_conf.c
@@ -2269,7 +2269,7 @@ error:
static int rpc_conf_drop(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_drop_internal, argc, argv );
}
@@ -2277,82 +2277,82 @@ static int rpc_conf_drop(struct net_context *c, int argc,
static int rpc_conf_showshare(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_showshare_internal, argc, argv );
}
static int rpc_conf_addshare(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_addshare_internal, argc, argv );
}
static int rpc_conf_listshares(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_listshares_internal, argc, argv );
}
static int rpc_conf_list(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_list_internal, argc, argv );
}
static int rpc_conf_import(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_import_internal, argc, argv );
}
static int rpc_conf_delshare(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_delshare_internal, argc, argv );
}
static int rpc_conf_getparm(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_getparm_internal, argc, argv );
}
static int rpc_conf_setparm(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_setparm_internal, argc, argv );
}
static int rpc_conf_delparm(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_delparm_internal, argc, argv );
}
static int rpc_conf_getincludes(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_getincludes_internal, argc, argv );
}
static int rpc_conf_setincludes(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_setincludes_internal, argc, argv );
}
static int rpc_conf_delincludes(struct net_context *c, int argc,
const char **argv)
{
- return run_rpc_command(c, NULL, &ndr_table_winreg.syntax_id, 0,
+ return run_rpc_command(c, NULL, &ndr_table_winreg, 0,
rpc_conf_delincludes_internal, argc, argv );
}