s4: torture: SMB2. Fix smb2.winattr to actually read the SD from the server and check it.
authorJeremy Allison <jra@samba.org>
Wed, 15 Apr 2020 19:07:57 +0000 (12:07 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 16 Apr 2020 20:42:58 +0000 (20:42 +0000)
commit72a57d377e451599fb19d51e08feb0facbf77409
treefbdbb901c4c2c84b494bbf5d34b9dec2f4c3c4d3
parent3dd78d2d407d88b797f8fdb0a9bfedfa830df206
s4: torture: SMB2. Fix smb2.winattr to actually read the SD from the server and check it.

We need READ_CONTROL, and actually have to ask for
the OWNER|GROUP|DACL bits if we're going to properly
check the SD.

Tested against Windows 10.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Apr 16 20:42:58 UTC 2020 on sn-devel-184
source4/torture/smb2/attr.c