s3:smbd: fix NULL dereference in case of readlink failure
[Samba.git] / docs-xml / smbdotconf / misc / smbdmaxxattrsize.xml
blob3ae91a3789039729a7daaa85b532a8a8871c7feb
1 <samba:parameter name="smbd max xattr size"
2                  context="S"
3                  type="integer"
4                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
5 <description>
6         <para>
7           This parameter controls the maximum size of extended attributes
8           that may be written to the server as EAs or as alternate data
9           streams if vfs_streams_xattr is enabled. The maximum size of
10           extended attributes depends on the Samba server's operating system
11           and the underlying filesystem. The Linux VFS currently sets an
12           upper boundary of 64 KiB per extended attribute. FreeBSD does not
13           set a practical upper limit, but since pread() and pwrite() are not
14           possible via the extattr on FreeBSD, it is not recommended to
15           increase this value above a few MiB.
17           If a client attempts to write an overly-large alternate datastream,
18           the Samba server will return STATUS_FILESYSTEM_LIMITATION.
19           If this error is encountered, users may try increasing the maximum
20           size supported for xattr writes. If this is not possible, and
21           writes are from a MacOS client and to an AFP_Resource extended
22           attribute, the user may enable the vfs_fruit module and configure
23           to allow stream writes for AFP_Resource to an alternative storage
24           location. See vfs_fruit documentation for further details.
25         </para>
26 </description>
27 <value type="default">65536</value>
28 </samba:parameter>