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>
#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(