VFS_FRUIT(8) | System Administration tools | VFS_FRUIT(8) |
NAME¶
vfs_fruit - Enhanced OS X and Netatalk interoperability
SYNOPSIS¶
vfs objects = fruit
DESCRIPTION¶
This VFS module is part of the samba(7) suite.
The vfs_fruit module provides enhanced compatibility with Apple SMB clients and interoperability with a Netatalk 3 AFP fileserver.
The module should be stacked with vfs_catia if enabling character conversion and must be stacked with vfs_streams_xattr, see the example section for the correct config.
The module enables alternate data streams (ADS) support for a share, intercepts the OS X special streams "AFP_AfpInfo" and "AFP_Resource" and handles them in a special way. All other named streams are deferred to vfs_streams_xattr which must be loaded together with vfs_fruit.
Having shares with ADS support enabled for OS X client is worthwhile because it resembles the behaviour of Apple´s own SMB server implementation and it avoids certain severe performance degradations caused by Samba´s case sensitivity semantics.
The OS X metadata and resource fork stream can be stored in a way compatible with Netatalk 3 by setting fruit:resource = file and fruit:metadata = netatalk.
OS X maps NTFS illegal characters to the Unicode private range in SMB requests. By setting fruit:encoding = native, all mapped characters are converted to native ASCII characters.
Finally, share access modes are optionally checked against Netatalk AFP sharing modes by setting fruit:locking = netatalk.
This module is not stackable other then described in this manpage.
OPTIONS¶
fruit:resource = [ file | xattr | stream ]
fruit:metadata = [ stream | netatalk ]
fruit:locking = [ netatalk | none ]
fruit:encoding = [ native | private ]
fruit:aapl = yes | no
fruit:nfs_aces = yes | no
fruit:veto_appledouble = yes | no
Vetoing ._ files may break some applications, eg extracting Mac ZIP archives from Mac clients failes, because they contain ._ files. Setting this option to false will fix this, but the abstraction leak of exposing the internally created ._ files may have other unknown side effects.
The default is yes.
fruit:copyfile = yes | no
WARNING: the copyfile request is blocking the client while the server does the copy.
. The default is no.
EXAMPLES¶
[share] vfs objects = catia fruit streams_xattr fruit:resource = file fruit:metadata = netatalk fruit:locking = netatalk fruit:encoding = native
AUTHOR¶
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
06/20/2018 | Samba 4.2 |