summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_winreg.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
commit34d52532b588497ea0306de59eabdd36c00242bf (patch)
tree592f252f5669e031fc549249c8464f214c79ae36 /source3/rpcclient/cmd_winreg.c
parentc62af4f6526d5b4a47b70ecfc4c1c03b1b64cf18 (diff)
downloadsamba-34d52532b588497ea0306de59eabdd36c00242bf.tar.gz
samba-34d52532b588497ea0306de59eabdd36c00242bf.tar.bz2
samba-34d52532b588497ea0306de59eabdd36c00242bf.zip
s3-rpcclient: 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/rpcclient/cmd_winreg.c')
-rw-r--r--source3/rpcclient/cmd_winreg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_winreg.c b/source3/rpcclient/cmd_winreg.c
index e9508e37ab..fba033239f 100644
--- a/source3/rpcclient/cmd_winreg.c
+++ b/source3/rpcclient/cmd_winreg.c
@@ -319,8 +319,8 @@ static WERROR cmd_winreg_querymultiplevalues2(struct rpc_pipe_client *cli,
struct cmd_set winreg_commands[] = {
{ "WINREG" },
- { "winreg_enumkey", RPC_RTYPE_WERROR, NULL, cmd_winreg_enumkeys, &ndr_table_winreg.syntax_id, NULL, "Enumerate Keys", "" },
- { "querymultiplevalues", RPC_RTYPE_WERROR, NULL, cmd_winreg_querymultiplevalues, &ndr_table_winreg.syntax_id, NULL, "Query multiple values", "" },
- { "querymultiplevalues2", RPC_RTYPE_WERROR, NULL, cmd_winreg_querymultiplevalues2, &ndr_table_winreg.syntax_id, NULL, "Query multiple values", "" },
+ { "winreg_enumkey", RPC_RTYPE_WERROR, NULL, cmd_winreg_enumkeys, &ndr_table_winreg, NULL, "Enumerate Keys", "" },
+ { "querymultiplevalues", RPC_RTYPE_WERROR, NULL, cmd_winreg_querymultiplevalues, &ndr_table_winreg, NULL, "Query multiple values", "" },
+ { "querymultiplevalues2", RPC_RTYPE_WERROR, NULL, cmd_winreg_querymultiplevalues2, &ndr_table_winreg, NULL, "Query multiple values", "" },
{ NULL }
};