FreeBSD+samba as a time machine server for OSX/Sonoma?

From: Craig Leres <leres_at_freebsd.org>
Date: Fri, 06 Sep 2024 21:47:59 UTC
Last year you guys helped me get this to work with samba416. I recently 
tried to upgrade to samba419 and so far I'm unsuccessful. The error is 
"The backup disk image could not be created" and I'm running 14.1.

I'm using the same port build options with 4.16 and 4.19:

     FAM
     PYTHON3
     QUOTAS
     SYSLOG
     UTMP
     GSSAPI_BUILTIN
     AVAHI
     FRUIT

Having learned my lesson when I upgraded from 4.13 to 4.16, I removed 
the old backups from the zfs volume on the server before starting. I've 
also learned the rule that you need to delete and reattach the share on 
the mac side when you change the samba config.

Appended is the config that works with 4.16 (but not 4.19)

		Craig

[global]
     workgroup = XYZ
     security = user
     netbios name = red
     server string = red.example.net
     hostname lookups = no
     server role = standalone server

     interfaces = ixl0 lo0
     bind interfaces only = yes

     load printers = no
     show add printer wizard = no
     time server = yes
     use mmap = yes

     dos charset = 850
     unix charset = UTF-8
     mangled names = no

     #log level = 3
     #log file = /tmp/samba.log
     vfs objects = catia fruit streams_xattr zfsacl

     fruit:model = MacSamba
     fruit:resource = file
     fruit:metadata = netatalk
     fruit:nfs_aces = yes
     fruit:copyfile = no
     fruit:aapl = yes
     fruit:zero_file_id = yes

     inherit permissions = yes


[Time Machine]
     path = /backups/mini
     read only = no
     guest ok = no
     writeable = yes
     browseable = yes
     fruit:resource = file
     fruit:time machine = yes
     valid users = backup-mini
     max disk size 512G

     hosts allow = 10.0.0.19