From a8e9242a1042582f77b1b61f7b17dc94a9065189 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 16 Apr 2012 16:21:15 +0200 Subject: s3: Fix smbclient notify against Windows We need READ_DATA Autobuild-User: Volker Lendecke Autobuild-Date: Mon Apr 16 21:27:54 CEST 2012 on sn-devel-104 --- source3/client/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/client') 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)) { -- cgit