Difference between revisions of "Using the xattr tdb VFS Module"
(Added new documentation about xattr_tdb.)
Latest revision as of 17:06, 1 November 2017
xattr_tdb Virtual File System (VFS) module stores extended attributes in a Trivial Database (TDB) file. This enables you to use extended attributes on operating systems or file systems that do not support extended attributes.
|Storing extended attributes in a TDB file is inefficient and does not scale. Do not use this module in production.|
You can enable the
xattr_module module either globally in the the
[global] section or for individual shares in the share's section. To enable the module:
- Edit your
smb.conffile. Depending on where to enable the module, add the following entry either to the
[global]or to the share's section:
vfs objects = xattr_tdb
- Optionally, set the path to the TDB file. For example:
xattr_tdb:file = /usr/local/samba/var/locks/xattr.tdb
- Reload the Samba configuration:
# smbcontrol all reload-config
For additional information, see the
vfs_xattr_tdb man page.