When attempting a Time Machine backup, my system's journal is being flooded with the following errors: smbd[30867]: [2022/09/26 13:15:59.811060, 0] ../../source3/smbd/files.c:1193(synthetic_pathref) smbd[30867]: synthetic_pathref: opening [MacBook Pro.sparsebundle/mapped/1310:AFP_AfpInfo] failed The backup in Time Machine itself fails. Clients are MacOS 12.6. More reports can be at the following, which also suggest the issue is not specific to Time Machine: https://forums.unraid.net/bug-reports/stable-releases/smbd6110-pathref-errors-r2111/ The share has been configured via the following docs: https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X I can reproduce with v4.17.x (4.17.0 and 4.17.1). I also set up a new Time Machine backup in case of corruption, to no avail. Downgrading to 4.16.5 resolves the issue.
Hmmm. I think DBG_ERR() is too noisy a debug level here. Should be DBG_NOTICE I think.
This bug was referenced in samba master: f0ca9546102acf09f1834c03f8907ed26bfc80f8
Created attachment 17660 [details] git-am fix for 4.17.next, 4.16.next. Cherry-picked from master.
Comment on attachment 17660 [details] git-am fix for 4.17.next, 4.16.next. Ping ! One more for the release... :-).
Reassigning to Jule for inclusion in 4.16 and 4.17.
Pushed to autobuild-v4-{17,16}-test.
This bug was referenced in samba v4-16-test: 627a9886da8fa8c2dbd0aa4cf273a5ebc70879ed
This bug was referenced in samba v4-17-test: 580cfa7213874087a042e77c6f82d7b513e1705e
Closing out bug report. Thanks!
This bug was referenced in samba v4-17-stable (Release samba-4.17.5): 580cfa7213874087a042e77c6f82d7b513e1705e
This bug was referenced in samba v4-16-stable (Release samba-4.16.9): 627a9886da8fa8c2dbd0aa4cf273a5ebc70879ed