summaryrefslogtreecommitdiff
path: root/source3/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
commitff07b2e4a37f23af90a27456a116b773ae3bbf97 (patch)
treeccda14e8480b8f85fe1dd5e76a9efa36a157dcf5 /source3/rpc_client
parent66d5d73a5d75e88a77970f7b27687b8354ab2e80 (diff)
downloadsamba-ff07b2e4a37f23af90a27456a116b773ae3bbf97.tar.gz
samba-ff07b2e4a37f23af90a27456a116b773ae3bbf97.tar.bz2
samba-ff07b2e4a37f23af90a27456a116b773ae3bbf97.zip
added wksinfo command to rpcclient, which don't work too good.
(This used to be commit 8d23da91cbd74a45a5b030688fd89d88a25738dc)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_wkssvc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_client/cli_wkssvc.c b/source3/rpc_client/cli_wkssvc.c
index f5a4c203e0..a9640cdb42 100644
--- a/source3/rpc_client/cli_wkssvc.c
+++ b/source3/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;