On 26/12/15 17:08, HAT wrote:> 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 = noIs that your entire smb.conf or just the share ? Rowland> > 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? >
Sat, 26 Dec 2015 17:22:56 +0000, Rowland penny <rpenny at samba.org>:> On 26/12/15 17:08, HAT wrote: >> 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 > > Is that your entire smb.conf or just the share ?$ /etc/samba# cat /etc/samba/smb.conf | grep -v \; | grep -v \# | grep -v ^$ [global] workgroup = LOCALNET server string = %h dos charset = CP932 log file = /var/log/samba/log.%m max log size = 50 security = user passdb backend = smbpasswd load printers = yes cups options = raw [Test 1] 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 -- HAT
On Sun, Dec 27, 2015 at 02:33:10AM +0900, HAT wrote:> Sat, 26 Dec 2015 17:22:56 +0000, Rowland penny <rpenny at samba.org>: > > On 26/12/15 17:08, HAT wrote: > >> 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 > > > > Is that your entire smb.conf or just the share ? > > $ /etc/samba# cat /etc/samba/smb.conf | grep -v \; | grep -v \# | grep -v ^$ > [global] > workgroup = LOCALNET > server string = %h > dos charset = CP932 > log file = /var/log/samba/log.%m > max log size = 50 > security = user > passdb backend = smbpasswd > load printers = yes > cups options = rawyou need "ea support = yes". -Ralph -- SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen phone: +49-551-370000-0, fax: +49-551-370000-9 AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen http://www.sernet.de,mailto:kontakt at sernet.de
On 26/12/15 17:33, HAT wrote:> Sat, 26 Dec 2015 17:22:56 +0000, Rowland penny <rpenny at samba.org>: >> On 26/12/15 17:08, HAT wrote: >>> 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 >> Is that your entire smb.conf or just the share ? > $ /etc/samba# cat /etc/samba/smb.conf | grep -v \; | grep -v \# | grep -v ^$ > [global] > workgroup = LOCALNET > server string = %h > dos charset = CP932 > log file = /var/log/samba/log.%m > max log size = 50 > security = user > passdb backend = smbpasswd > load printers = yes > cups options = raw > [Test 1] > 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 >OK, so you are trying to connect from apple clients to a share on a Samba standalone server, do your apple users exist as Unix & Samba users on the Samba server? Rowland