smbd: handle fake file handles in fdos_mode()
commite093eaed1046638193d973c39fa9df74e41148d3
authorRalph Boehme <slow@samba.org>
Fri, 4 Jun 2021 13:54:20 +0000 (4 15:54 +0200)
committerJeremy Allison <jra@samba.org>
Wed, 9 Jun 2021 19:47:34 +0000 (9 19:47 +0000)
treeac8b4ff4bab96bd0fefc802a4928746cd56e6152
parent51b0fd0c566ff6bf112ab9752d9b105a6bb786a8
smbd: handle fake file handles in fdos_mode()

This ensures SMB requests on the quote fake file "$Extend/$Quota" don't hit the
VFS, where specifically in vfs_gpfs we log an error message if we fail to read
the DOS attributes for a file with

  vfs_gpfs_get_dos_attributes: Getting winattrs failed for $Extend/$Quota

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>
source3/smbd/dosmode.c