smbtorture: verify attributes on fake quota file handle
authorRalph Boehme <slow@samba.org>
Mon, 7 Jun 2021 17:03:05 +0000 (19:03 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 9 Jun 2021 19:47:34 +0000 (19:47 +0000)
commit1e338d51602a7dca6108e5e8704f5cdde4740713
treedaca41fc4976923c6e7c0ca8c7f43857d8d29792
parent694dc56faf80263697a972a1e43ddb038942b272
smbtorture: verify attributes on fake quota file handle

The expected DOS attributes are taken from a Windows 2016 server. The expected
timestamps are what Samba has returned before commit 572d4e3a56eef00e29f9348:
NTTIME(0), ie no value.

The upcoming fix will restore this behaviour. Windows of course does
return *some* timestamps, but as it's neither documented nor was I able to
figure out where they would be coming from, as well as the Windows client apparently
doesn't care, I didn't bother with implementing some sophisticated heuristic to
return some timestamps.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail
selftest/knownfail.d/samba3.smb2.create [new file with mode: 0644]
source4/torture/smb2/create.c