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>
Fri, 16 Sep 2016 10:05:33 +0000 (12:05 +0200)
commitf65150098e270594322f757302a8284cfd76ff42
tree4e8b91adef13c221cf379c76f0ce115e672c1dce
parentb941e41923c7e0c3d7e0507b704e9eeb8a7052c0
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