summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/client/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index a4a7ebdeab..3d36367539 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -3923,7 +3923,7 @@ static int cmd_notify(void)
goto fail;
}
status = cli_ntcreate(
- cli, name, 0, READ_CONTROL_ACCESS, 0,
+ cli, name, 0, FILE_READ_DATA, 0,
FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE,
FILE_OPEN, 0, 0, &fnum);
if (!NT_STATUS_IS_OK(status)) {