SMB Share and failed write from macOS

Hi Bruce, I just check the file /etc/samba/smb.conf.template it has the following set by default;

    fruit:nfs_aces = no
    fruit:aapl = yes
    vfs objects = catia fruit streams_xattr

I find this file gets overwritten when setting up a samba share again. I edited the /var/etc/smb.conf file instead and re-started SMB service to test again with these settings;

    fruit:nfs_aces = yes
    fruit:aapl = yes
    vfs objects = catia fruit streams_xattr

Now I can create multiple folders in finder and that works, but copying files fails again in finder, creating a zero byte file.
The operation can’t be completed because an unexpected error occurred (error code -50).

Testing from command line on Mac to copy does copy the file, but again shows extended attributes error on completion.