summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_pipe.c
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
commitd93101300820514c038ae52ffaf8150594701d07 (patch)
tree0958a1fb47fa0bd6cb02aa54c864ffd978282ed5 /source3/rpc_client/cli_pipe.c
parent54100bac69641254f512bfe6d1449e8d217e5af5 (diff)
downloadsamba-d93101300820514c038ae52ffaf8150594701d07.tar.gz
samba-d93101300820514c038ae52ffaf8150594701d07.tar.bz2
samba-d93101300820514c038ae52ffaf8150594701d07.zip
pass the desired access into cli_nt_create()
(This used to be commit a2d07994e0376a8d530d262573c96710bdff2236)
Diffstat (limited to 'source3/rpc_client/cli_pipe.c')
-rw-r--r--source3/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 3a875cc46b..7ca274efc3 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/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;