1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

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
This commit is contained in:
Volker Lendecke 2012-04-16 16:21:15 +02:00
parent 2730eda640
commit a8e9242a10

View File

@ -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)) {