summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-04-16 16:21:15 +0200
committerVolker Lendecke <vl@samba.org>2012-04-16 21:27:54 +0200
commita8e9242a1042582f77b1b61f7b17dc94a9065189 (patch)
treebf70cca98370a00ff16f6fbd45a38b3e7be2e760 /source3
parent2730eda640d77d22db08f090f1cd1a734645a496 (diff)
downloadsamba-a8e9242a1042582f77b1b61f7b17dc94a9065189.tar.gz
samba-a8e9242a1042582f77b1b61f7b17dc94a9065189.tar.bz2
samba-a8e9242a1042582f77b1b61f7b17dc94a9065189.zip
s3: Fix smbclient notify against Windows
We need READ_DATA Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Apr 16 21:27:54 CEST 2012 on sn-devel-104
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)) {