s3: smbd: In filename_split_lcomp() ensure we never return a streamname if posix...
commitbe8ac8df178556957d3d20d309b0f79cb1df6b34
authorJeremy Allison <jra@samba.org>
Wed, 27 Jul 2022 23:52:40 +0000 (27 16:52 -0700)
committerVolker Lendecke <vl@samba.org>
Thu, 28 Jul 2022 15:38:38 +0000 (28 15:38 +0000)
treee9cca7898a96a2c9a6ff4c08c15ea7c500b2fb1b
parent1a653fdc4422450737ab885d2531db8bed9fcf03
s3: smbd: In filename_split_lcomp() ensure we never return a streamname if posix is set.

POSIX has no streams, even on the root of a directory.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source3/smbd/filename.c