[Samba] vfs_fruit: xattr imcompatible with netatalk

HAT hat at fa2.so-net.ne.jp
Sat Dec 26 17:08:53 UTC 2015


Hi,
I'm testing samba 4.3.3 vfs_fruit on Fedora rawhide.

The EAs are not seen from clients yet.

smb.conf:
      path = /export/test1/
      writable = yes
      vfs objects = catia fruit streams_xattr
      fruit:locking = netatalk
      fruit:encoding = native
      streams_xattr:prefix = user.
      streams_xattr:store_stream_type = no

On OS X:
    $ cd ~/test
    $ xattr ICONandEA.txt
    com.apple.FinderInfo
    com.apple.ResourceFork
    com.apple.TextEncoding
    com.apple.metadata:kMDItemFinderComment

Copy from OS X to Fedora via Samba.
On Fedora:
    $ cd /export/test1
    $ ls -a
    ./
    ../
    .DS_Store
    ._ICONandEA.txt
    ICONandEA.txt
    $ getfattr ICONandEA.txt
    # file: ICONandEA.txt
    user.com.apple.TextEncoding
    user.com.apple.metadata:kMDItemFinderComment
    user.org.netatalk.Metadata

On OS X via Samba:
    $ cd /Volumes/test1
    $ xattr ICONandEA.txt
    com.apple.FinderInfo
    com.apple.ResourceFork

The EAs are not seen from clients.

How can I handle EAs?

-- 
HAT



More information about the samba mailing list