Hello,
I like using EndeavourOS alot as a desktop and have used it for development as well as recommended it to friends. Thanks to the EndeavourOS team for such a great distro.
Now, here is my issue:
Context
For a long time, I have been using Linux to provide a Time Machine server for macOS clients.
Historically I have run a netatalk server and allowed all clients to connect via AFS (Apple’s older protocol) to back up to Time Machine, and this setup worked very well.
More recent Time Machine connects via Samba instead of AFS. Starting with the current version of macOS, AFS is no longer supported, so now Time Machine must be via Samba, and I have updated my server accordingly.
The Issue
In EndeavourOS current, with the following config, I couldn’t maintain a steady connection to the Samba server from wired or wireless clients. It would complete a backup after connecting manually, but then subsequent backups would fail because the server could not connect. The server would appear connected via Finder, but would time out if i tried to access it, so I would have to disconnect and reconnect and manually trigger a Time Machine backup.
I ended up trying Debian 13 with the same Samba config, and the Time Machine works as expected (backups every hour without manually mounting the Time Machine share). However I would much prefer to use EndeavourOS, so I would greatly appreciate any insight on what may be leading to the difference in behavior. In EndeavourOS, I was sure to allow Samba in firewall-cmd, but I am not sure if the firewall is the issue here.
There is nothing noteworthy in logs, so i couldn’t figure this out.
Here is my smb.conf:
% cat /etc/samba/smb.conf
[global]
server role = standalone server
workgroup = WORKGROUP
netbios name = FILESERVER
security = user
server min protocol = SMB3
client signing = required
obey pam restrictions = yes
pam password change = yes
unix password sync = yes
inherit acls = yes
map to guest = Bad User
[TimeMachine]
path = /srv/time-machine
browsable = yes
read only = no
guest ok = no
valid users = @smbusers
create mask = 0660
directory mask = 0770
vfs objects = catia fruit streams_xattr
fruit:time machine = yes
fruit:model = TimeCapsule
fruit:metadata = stream
fruit:resource = stream