smbtorture: verify attributes on fake quota file handle
authorRalph Boehme <slow@samba.org>
Mon, 7 Jun 2021 17:03:05 +0000 (19:03 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 19 Jul 2021 06:18:12 +0000 (06:18 +0000)
commit7ecf16506616c7f3071c8c2206cfda17b7743351
treeda55fb2616d2ca363bc7c6e21af8cd5839312004
parent5b58f6637241dfee4249d89fab3220fef59c9cfb
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>
(cherry picked from commit 1e338d51602a7dca6108e5e8704f5cdde4740713)
selftest/knownfail
selftest/knownfail.d/samba3.smb2.create [new file with mode: 0644]
source4/torture/smb2/create.c