according to MS-FSA querying for SMB_FILE_STREAM_INFORMATION on a stream is
valid and MS-FSA 2.1.5.12.29 FileStreamInformation tells us to return the streams
associated with the underlying File object:
* For each Stream ThisStream of Open.File ...
BUG: https://bugzilla.samba.org/show_bug.cgi?id=16144
Pair-Programmed-With: Ralph Boehme <slow@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Signed-off-by: Ralph Boehme <slow@samba.org>
-^samba3.smb2.streams.io\(.*\)
-^samba3.smb2.streams.create-disposition\(.*\)
-^samba3.smb2.streams streams_xattr.io\(.*\)
^samba3.smb2.streams streams_xattr.create-disposition\(.*\)
DBG_DEBUG("SMB_FILE_STREAM_INFORMATION\n");
if (is_ntfs_stream_smb_fname(smb_fname)) {
- return NT_STATUS_INVALID_PARAMETER;
+ if (!fsp_is_alternate_stream(fsp)) {
+ return NT_STATUS_INVALID_PARAMETER;
+ }
+ fsp = fsp->base_fsp;
}
status = vfs_fstreaminfo(fsp,