s3:smbd: when storing DOS attribute call dos_mode() beforehand
authorRalph Boehme <slow@samba.org>
Mon, 23 Sep 2019 22:16:58 +0000 (15:16 -0700)
committerRalph Boehme <slow@samba.org>
Wed, 2 Oct 2019 08:01:39 +0000 (08:01 +0000)
commit49a754b82d33fb523cda4151a865584ae52a2e2f
treec02dd97822205af019621203cdeb74a126570c57
parente1dfaa2b038d91e43d8d34bf1526b7728dba58a5
s3:smbd: when storing DOS attribute call dos_mode() beforehand

This is required to ensure File-ID info is populated with the correct on-disk
value, before calling file_set_dosmode() which will update the on-disk value.

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

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
selftest/knownfail.d/samba3.smb2.fileid
source3/smbd/open.c