1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00

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 bfd9b9e997)
This commit is contained in:
Jim McDonough 2005-02-11 16:03:40 +00:00 committed by Gerald (Jerry) Carter
parent 25edc545fc
commit 803ace5bc7

View File

@ -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;