s3: torture: Add an SMB1-specific test SMB1-SYSTEM-SECURITY.
authorJeremy Allison <jra@samba.org>
Fri, 17 Apr 2020 22:48:09 +0000 (15:48 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 21 Apr 2020 18:37:39 +0000 (18:37 +0000)
commitf3f81e8f28afa524fddb8308382cce590c049de2
tree82780d050bebd2e43ec0bfee53a55d197c947b8d
parent5651fafe9856e69c93dba3efa6253780cf3c10a1
s3: torture: Add an SMB1-specific test SMB1-SYSTEM-SECURITY.

NB. This is also tested in samba3.base.createx_access
but this makes it very explicit what we're looking for.

Shows SMB1 allows explicit open of a file with only
he SEC_FLAG_SYSTEM_SECURITY access mask requested.
SMB2 doesn't.

Requires a Windows 10 system with a user with
SeSecurityPrivilege set. Passes against Windows 10
with SMB1 enabled.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/torture/torture.c