From 803ace5bc7c29efac6b79c327efb04b50d9c60c9 Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Fri, 11 Feb 2005 16:03:40 +0000 Subject: r5339: Fix 'net rpc trustdom establish'. Use the right pipe name, therefore the right pipe FID. Fixes NT_STATUS_INVALID_HANDLE error. (This used to be commit bfd9b9e99711abcaac80d98160723f5dc37b6917) --- source3/rpc_client/cli_wkssvc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/rpc_client') diff --git a/source3/rpc_client/cli_wkssvc.c b/source3/rpc_client/cli_wkssvc.c index 636e0fa018..aea4744398 100644 --- a/source3/rpc_client/cli_wkssvc.c +++ b/source3/rpc_client/cli_wkssvc.c @@ -61,7 +61,7 @@ NTSTATUS cli_wks_query_info(struct cli_state *cli, TALLOC_CTX *mem_ctx, } /* actual rpc call over \PIPE\wkssvc */ - if (!rpc_api_pipe_req(cli, PI_SRVSVC, WKS_QUERY_INFO, &buf, &rbuf)) { + if (!rpc_api_pipe_req(cli, PI_WKSSVC, WKS_QUERY_INFO, &buf, &rbuf)) { prs_mem_free(&buf); prs_mem_free(&rbuf); return NT_STATUS_UNSUCCESSFUL; -- cgit