]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r5339: Fix 'net rpc trustdom establish'. Use the right pipe name, therefore the
authorJim McDonough <jmcd@samba.org>
Fri, 11 Feb 2005 16:03:40 +0000 (16:03 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:55:38 +0000 (10:55 -0500)
right pipe FID.  Fixes NT_STATUS_INVALID_HANDLE error.

source/rpc_client/cli_wkssvc.c

index 636e0fa0188b68b91b127d0b2a61657b7c810651..aea474439887d78190271fe8cc73771509568b82 100644 (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;