summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2005-02-11 16:03:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:55:38 -0500
commit803ace5bc7c29efac6b79c327efb04b50d9c60c9 (patch)
tree058468989640778413579bafcd59a65a9bf83456 /source3/rpc_client
parent25edc545fc47e9ed77aa11d813505888c472d49d (diff)
downloadsamba-803ace5bc7c29efac6b79c327efb04b50d9c60c9.tar.gz
samba-803ace5bc7c29efac6b79c327efb04b50d9c60c9.tar.bz2
samba-803ace5bc7c29efac6b79c327efb04b50d9c60c9.zip
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)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_wkssvc.c2
1 files changed, 1 insertions, 1 deletions
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;