-
Notifications
You must be signed in to change notification settings - Fork 99
Interoperability with Samba
Netatalk v3 and later and Samba can store EA metadata in a mutually compatible format.
Using this way, the following access becomes possible.
- from Mac to Netatalk
- from Mac to Samba
- from Windows to Samba
WARNING: The ea = samba format and ea = sys (Netatalk default) metadata formats are NOT compatible, and there currently isn't an automated way to convert between the two.
If you have a Netatalk volume using the default settings and want to share it over Samba, the recommended migration path is to copy files from one volume to another using an AFP client.
Using vol preset
option, the same configuration is set for all
volumes.
Using ea = samba
, Extended Attributes become compatible with Samba.
Edit /usr/local/etc/afp.conf
.
Ex:
[Global]
vol preset = my default values
[my default values]
ea = samba
[Homes]
basedir regex = /home
[Test Volume]
path = /export/test1
[My Time Machine Volume]
path = /export/timemachine
time machine = yes
Setting various options in [global]
, the same configuration is set for
all shares.
Three vfs objects (catia, fruit and streams_xattr) provide enhanced compatibility with Apple SMB clients and interoperability with a Netatalk.
Using hide files
, the invisible files created via Netatalk are
hidden from Windows. Use hide files
, not veto files
.
Don't use fruit:locking = netatalk
because it has a
bug.
Edit /etc/samba/smb.conf
.
Ex:
[global]
ea support = Yes
vfs objects = catia fruit streams_xattr`
fruit:encoding = native
streams_xattr:prefix = user.
streams_xattr:store_stream_type = no`
hide files = /.DS_Store/Network Trash Folder/TheFindByContentFolder/TheVolumeSettingsFolder/Temporary Items/.TemporaryItems/.VolumeIcon.icns/Icon?/.FBCIndex/.FBCLockFolder/
read only = No
[homes]
[Test Volume]
path = /export/test1
[My Time Machine Volume]
path = /export/timemachine
Resources
- Getting Started
- FAQ
- Troubleshooting
- Connect to AFP Server
- Webmin Module
- Benchmarks
- Interoperability with Samba
OS Specific Guides
- Installing Netatalk on Alpine Linux
- Installing Netatalk on Debian Linux
- Installing Netatalk on Fedora Linux
- Installing Netatalk on FreeBSD
- Installing Netatalk on macOS
- Installing Netatalk on NetBSD
- Installing Netatalk on OmniOS
- Installing Netatalk on OpenBSD
- Installing Netatalk on OpenIndiana
- Installing Netatalk on openSUSE
- Installing Netatalk on Solaris
- Installing Netatalk on Ubuntu
Tech Notes
- Kerberos
- Special Files and Folders
- Spotlight
- MySQL CNID Backend
- Slow AFP read performance
- Limiting Time Machine volumes
- Netatalk and ZFS nbmand property
Retro AFP
Development