seltest: implicit FILE_READ_DATA non-reporting
authorUri Simchoni <uri@samba.org>
Sat, 13 Aug 2016 18:23:34 +0000 (21:23 +0300)
committerKarolin Seeger <kseeger@samba.org>
Tue, 13 Sep 2016 10:27:27 +0000 (12:27 +0200)
commit577b459d29323b6fb2d005aab1ce125ac7dc1131
treec085716e1177f7c11cc02e18681b76c535a64226
parent5580e5f2e8ed6b024208173fda0ce927eb995144
seltest: implicit FILE_READ_DATA non-reporting

This test (passes against Windows Server 2012R2) shows
that the implicit FILE_READ_DATA that is added whenever
FILE_EXECUTE is granted, is not reported back when querying
the handle.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12149

Signed-off-by: Uri Simchoni <uri@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
(cherry picked from commit 7dc9f582066d500bf57000891560610e8d2e208c)
source4/torture/smb2/getinfo.c
source4/torture/smb2/util.c