smbd: let directory entries inherit the smb_fname->flags from the directory
authorRalph Boehme <slow@samba.org>
Thu, 15 Oct 2020 17:45:21 +0000 (19:45 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 23 Oct 2020 07:56:33 +0000 (07:56 +0000)
commit2e5e49e41dc9c4f134db7c98c244237ea3c403cf
tree9159d1a8d52418aa22d2a84a61ca848a083d7f6e
parent42b8a431f04afcd487d3c4c6280ccce06359b508
smbd: let directory entries inherit the smb_fname->flags from the directory

If the listed directory has SMB_FILENAME_POSIX_PATH set, this change causes the
smb_fname of directory entries to inherit the flag so subsequent operations on
the directory entry can correctly implement POSIX semantics.

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