s3: smbd: Fix SMB2-FLUSH against directories.
authorJeremy Allison <jra@samba.org>
Thu, 10 May 2018 17:26:52 +0000 (10:26 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 17 May 2018 21:41:10 +0000 (23:41 +0200)
commit42aadf42f27053e621f2a6b72448afebb3f5082a
tree46c7b3c9dfff22e24d4df2a54e6986a48e5b475d
parent48f72803f0e4a797af64bbb2417feb7179b1bcfb
s3: smbd: Fix SMB2-FLUSH against directories.

Directories opened with either FILE_ADD_FILE or
FILE_ADD_SUBDIRECTORY can be flushed even if
they're not writable in the conventional sense.

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

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