summaryrefslogtreecommitdiffstats
path: root/source/rpc_client
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-12-04 07:26:56 +0000
committerAndrew Tridgell <tridge@samba.org>2000-12-04 07:26:56 +0000
commita2d07994e0376a8d530d262573c96710bdff2236 (patch)
tree33b2fc5bf06651567fbc5fc6e7c9ec15778f7057 /source/rpc_client
parentfaaa71a032bc27d073c39da42fc2928ea3226698 (diff)
downloadsamba-a2d07994e0376a8d530d262573c96710bdff2236.tar.gz
samba-a2d07994e0376a8d530d262573c96710bdff2236.tar.xz
samba-a2d07994e0376a8d530d262573c96710bdff2236.zip
pass the desired access into cli_nt_create()
Diffstat (limited to 'source/rpc_client')
-rw-r--r--source/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index 3a875cc46bd..7ca274efc32 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/rpc_client/cli_pipe.c
@@ -1169,7 +1169,7 @@ BOOL cli_nt_session_open(struct cli_state *cli, char *pipe_name)
int fnum;
if (cli->capabilities & CAP_NT_SMBS) {
- if ((fnum = cli_nt_create(cli, &(pipe_name[5]))) == -1) {
+ if ((fnum = cli_nt_create(cli, &(pipe_name[5], DESIRED_ACCESS_PIPE))) == -1) {
DEBUG(0,("cli_nt_session_open: cli_nt_create failed on pipe %s to machine %s. Error was %s\n",
&(pipe_name[5]), cli->desthost, cli_errstr(cli)));
return False;