From: Jim McDonough Date: Fri, 11 Feb 2005 16:03:40 +0000 (+0000) Subject: r5339: Fix 'net rpc trustdom establish'. Use the right pipe name, therefore the X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5269 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bfd9b9e99711abcaac80d98160723f5dc37b6917;p=thirdparty%2Fsamba.git r5339: Fix 'net rpc trustdom establish'. Use the right pipe name, therefore the right pipe FID. Fixes NT_STATUS_INVALID_HANDLE error. --- diff --git a/source/rpc_client/cli_wkssvc.c b/source/rpc_client/cli_wkssvc.c index 636e0fa0188..aea47443988 100644 --- a/source/rpc_client/cli_wkssvc.c +++ b/source/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;