[Samba] Extended attributes not working on mac

Perttu Aaltonen perttu.aaltonen at mac.com
Mon Jun 1 13:55:11 UTC 2020


I’m not sure if this is related, but there was a regression a while back in handling resource forks in folder icons. It was supposed to be fixed in 4.10.13 but I don’t think it quite works yet and I haven’t had the time to test it further yet.

-Perttu

> On 30 May 2020, at 21.00, Martin Steiner / 3MF GmbH via samba <samba at lists.samba.org> wrote:
> 
> I changed the configuration and raised the log level, in my opion samba tries to access the non existent double files.
> Samba is now probably writing the data in a netatalk compliant way in the extended attributes of the file but is not reading it.
> 
> new configuration:
> 
> [Global]
> min protocol = SMB2
> vfs objects = catia fruit streams_xattr
> fruit:metadata = stream
> fruit:resource = stream
> fruit:encoding = native
> fruit:model = MacSamba
> fruit:posix_rename = yes
> fruit:veto_appledouble = no
> fruit:wipe_intentionally_left_blank_rfork = yes
> fruit:delete_empty_adfiles = yes
> streams_xattr:prefix = 
> streams_xattr:store_stream_type = no
> dos charset = CP932
> log level = 3 vfs:5
> 
> [Buchhaltung]
> vfs objects = catia fruit streams_xattr
> path = /home/buchhaltung
> read only = No
> valid users = martin
> fruit:resource = stream
> fruit:metadata = stream
> fruit:encoding = native
> streams_xattr:prefix = 
> streams_xattr:store_stream_type = no
> 
> ------------------------------------------
> 
> Xattr binary is not working, so i used attr:
> 
> attr -g "com.apple.metadata:_kMDItemUserTags" test.numbers
> Attribute "com.apple.metadata:_kMDItemUserTags" had a 54 byte value for test.numbers:
> bplist00�XOrange
> 7
> 
> ------------------------------------------
> 
> xattr on my mac tells nothing, but when i try i get the following error in the samba log on the ubuntu server:
> 
> [2020/05/30 19:54:27.887673,  3] ../../source3/smbd/smb2_server.c:3264(smbd_smb2_request_error_ex)
> smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_NO_SUCH_FILE] || at ../../source3/smbd/smb2_query_directory.c:159
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba




More information about the samba mailing list