smbd: ignore request to set the SPARSE attribute on streams
commitb1ebf29f20229b01b408f4f9b99748604c407d46
authorRalph Boehme <slow@samba.org>
Fri, 29 Jul 2022 12:56:41 +0000 (29 14:56 +0200)
committerJule Anger <janger@samba.org>
Tue, 6 Sep 2022 06:32:13 +0000 (6 06:32 +0000)
treeeac689406bad340647b68a4b816c3d4bf7931f71
parent95e658ad86685029e02b0ebf6eaaca2807402a7d
smbd: ignore request to set the SPARSE attribute on streams

As per MS-FSA 2.1.1.5 this is a per stream attribute, but our backends don't
support it in a consistent way, therefor just pretend success and ignore the
request.

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 3af8f8e8741cc8c889bbf416ccd38a1b702917ec)
source3/smbd/dosmode.c