summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-09-25 21:20:37 +0000
committerLuke Leighton <lkcl@samba.org>1998-09-25 21:20:37 +0000
commit8d23da91cbd74a45a5b030688fd89d88a25738dc (patch)
tree9b2591fbf220b889344afa69dc0cf0ab898067e2 /source/rpc_client
parentaa38f39d67fade4dfd7badb7a9b39c833a1dd1ca (diff)
downloadsamba-8d23da91cbd74a45a5b030688fd89d88a25738dc.tar.gz
samba-8d23da91cbd74a45a5b030688fd89d88a25738dc.tar.xz
samba-8d23da91cbd74a45a5b030688fd89d88a25738dc.zip
added wksinfo command to rpcclient, which don't work too good.
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_wkssvc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_client/cli_wkssvc.c b/source/rpc_client/cli_wkssvc.c
index f5a4c203e08..a9640cdb423 100644
--- a/source/rpc_client/cli_wkssvc.c
+++ b/source/rpc_client/cli_wkssvc.c
@@ -34,7 +34,7 @@ extern int DEBUGLEVEL;
/****************************************************************************
do a WKS Open Policy
****************************************************************************/
-BOOL do_wks_query_info(struct cli_state *cli, int t_idx, uint16 fnum,
+BOOL do_wks_query_info(struct cli_state *cli,
char *server_name, uint32 switch_value,
WKS_INFO_100 *wks100)
{
@@ -59,7 +59,7 @@ BOOL do_wks_query_info(struct cli_state *cli, int t_idx, uint16 fnum,
wks_io_q_query_info("", &q_o, &buf, 0);
/* send the data on \PIPE\ */
- if (rpc_api_pipe_req(cli, t_idx, fnum, WKS_QUERY_INFO, &buf, &rbuf))
+ if (rpc_api_pipe_req(cli, WKS_QUERY_INFO, &buf, &rbuf))
{
WKS_R_QUERY_INFO r_o;
BOOL p;