No change in behaviour.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15126
MR: https://gitlab.com/samba-team/samba/-/merge_requests/2643
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
(cherry picked from commit
0d3995cec10c5fae8c8b6a1df312062e38437e6f)
#endif
/* Don't create files with Microsoft wildcard characters. */
- if (fsp->base_fsp) {
+ if (fsp_is_alternate_stream(fsp)) {
/*
* wildcard characters are allowed in stream names
* only test the basefilename
}
/* Can we access this file ? */
- if (!fsp->base_fsp) {
+ if (!fsp_is_alternate_stream(fsp)) {
/* Only do this check on non-stream open. */
if (file_existed) {
status = smbd_check_access_rights_fsp(