summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Walker <awalker@ixsystems.com>2021-05-07 06:37:25 -0400
committerJeremy Allison <jra@samba.org>2021-05-10 20:16:21 +0000
commit21934c09bdcad04633f0e77ad8136b8f2c21b9e5 (patch)
treece970097ef17fc02e0b1c837d5b2413be67032ac /source3/param
parentac78b921dafa3372eee747caabd094fb5a05cf6b (diff)
downloadsamba-21934c09bdcad04633f0e77ad8136b8f2c21b9e5.tar.gz
s3:smbd - support streams larger than 64 KiB
Add support for streams that are larger than 64 KiB in size. Upper and lower bound are controlled by the parameters smbd max_xattr_size. Testing against ReFS on Windows (where ADS size is limited in size shows the server responding with STATUS_FILESYSTEM_LIMITATION. Do the same in samba for this case. Currently, large xattrs are supported in FreeBSD. Signed-off-by: Andrew Walker <awalker@ixsystems.com> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon May 10 20:16:21 UTC 2021 on sn-devel-184
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 55184e9b798..85e578eda9e 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -197,6 +197,7 @@ static const struct loadparm_service _sDefault =
.map_hidden = false,
.map_archive = true,
.store_dos_attributes = true,
+ .smbd_max_xattr_size = 65536,
.dmapi_support = false,
.locking = true,
.strict_locking = Auto,