Time Machine on UCS 5.0-1 errata176

I try to setup a Time Machine backup from a Mac client (macOS 12.1 Monterey) to the UCS server. But it fails and says my share isn’t supporting the needed functions. It’s surely not a client’s problem, because backing up to another server (Openmediavault) works. This does not help. Maybe it’s because of the different Samba version (4.13.13 on UCS, 4.9.5 on OMV)
Any help is welcome.

Hi
maybe this info will help you to adjust the ucs5/samba for TM. I just use a rpi with bullseye and the config from this page. TM will work with OSX 11.6 and 12.1 with my setup

Greetings Ben

Hi Ben
I don’t have any issues with other Samba boxes as I mentioned already. But now I’m a step further as I got some logging

[2021/12/29 14:53:57.451638,  3, pid=28239] ../../source3/smbd/oplock.c:1427(init_oplocks)
  init_oplocks: initializing messages.
[2021/12/29 14:53:57.452190,  3, pid=28239] ../../source3/smbd/server_exit.c:221(exit_server_common)
  Server exit (failed to receive smb request)
[2021/12/29 14:53:57.452310,  3, pid=28240] ../../source3/smbd/oplock.c:1427(init_oplocks)
  init_oplocks: initializing messages.
[2021/12/29 14:53:57.452926,  3, pid=28240] ../../source3/smbd/server_exit.c:221(exit_server_common)
  Server exit (failed to receive smb request)
[2021/12/29 14:53:59.455514,  3, pid=28241] ../../source3/smbd/oplock.c:1427(init_oplocks)
  init_oplocks: initializing messages.
[2021/12/29 14:53:59.455647,  3, pid=28241] ../../source3/smbd/process.c:1957(process_smb)
  Transaction 0 of length 73 (0 toread)
[2021/12/29 14:53:59.455686,  3, pid=28241] ../../source3/smbd/process.c:1549(switch_message)
  switch message SMBnegprot (pid 28241) conn 0x0
[2021/12/29 14:53:59.456276,  3, pid=28241] ../../source3/smbd/negprot.c:637(reply_negprot)
  Requested protocol [NT LM 0.12]
[2021/12/29 14:53:59.456337,  3, pid=28241] ../../source3/smbd/negprot.c:637(reply_negprot)
  Requested protocol [SMB 2.002]
[2021/12/29 14:53:59.456378,  3, pid=28241] ../../source3/smbd/negprot.c:637(reply_negprot)
  Requested protocol [SMB 2.???]
[2021/12/29 14:53:59.456823,  3, pid=28241] ../../source3/smbd/smb2_negprot.c:293(smbd_smb2_request_process_negprot)
  Selected protocol SMB2_FF
[2021/12/29 14:53:59.460253,  3, pid=28241] ../../lib/util/modules.c:167(load_module_absolute_path)
  load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/auth/samba4.so' loaded
[2021/12/29 14:53:59.461441,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'gssapi_spnego' registered
[2021/12/29 14:53:59.461480,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'gssapi_krb5' registered
[2021/12/29 14:53:59.461509,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'gssapi_krb5_sasl' registered
[2021/12/29 14:53:59.461526,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'spnego' registered
[2021/12/29 14:53:59.461543,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'schannel' registered
[2021/12/29 14:53:59.461558,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'naclrpc_as_system' registered
[2021/12/29 14:53:59.461575,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'sasl-EXTERNAL' registered
[2021/12/29 14:53:59.461592,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'ntlmssp' registered
[2021/12/29 14:53:59.461608,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'ntlmssp_resume_ccache' registered
[2021/12/29 14:53:59.461632,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'http_basic' registered
[2021/12/29 14:53:59.461678,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'http_ntlm' registered
[2021/12/29 14:53:59.461707,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'http_negotiate' registered
[2021/12/29 14:53:59.461731,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'krb5' registered
[2021/12/29 14:53:59.461774,  3, pid=28241] ../../auth/gensec/gensec_start.c:988(gensec_register)
  GENSEC backend 'fake_gssapi_krb5' registered
[2021/12/29 14:53:59.462687,  3, pid=28241] ../../lib/ldb-samba/ldb_wrap.c:332(ldb_wrap_connect)
  ldb_wrap open of secrets.ldb
[2021/12/29 14:53:59.463718,  3, pid=28241] ../../source4/auth/ntlm/auth.c:824(auth_register)
  AUTH backend 'sam' registered
[2021/12/29 14:53:59.463757,  3, pid=28241] ../../source4/auth/ntlm/auth.c:824(auth_register)
  AUTH backend 'sam_ignoredomain' registered
[2021/12/29 14:53:59.463778,  3, pid=28241] ../../source4/auth/ntlm/auth.c:824(auth_register)
  AUTH backend 'anonymous' registered
[2021/12/29 14:53:59.463794,  3, pid=28241] ../../source4/auth/ntlm/auth.c:824(auth_register)
  AUTH backend 'winbind' registered
[2021/12/29 14:53:59.463811,  3, pid=28241] ../../source4/auth/ntlm/auth.c:824(auth_register)
  AUTH backend 'name_to_ntstatus' registered
[2021/12/29 14:53:59.463827,  3, pid=28241] ../../source4/auth/ntlm/auth.c:824(auth_register)
  AUTH backend 'unix' registered
[2021/12/29 14:53:59.467800,  3, pid=28241] ../../source3/smbd/negprot.c:776(reply_negprot)
  Selected protocol SMB 2.???
[2021/12/29 14:53:59.469139,  3, pid=28241] ../../source3/smbd/smb2_negprot.c:293(smbd_smb2_request_process_negprot)
  Selected protocol SMB3_11
[2021/12/29 14:53:59.469699,  3, pid=28241] ../../lib/ldb-samba/ldb_wrap.c:332(ldb_wrap_connect)
  ldb_wrap open of secrets.ldb
[2021/12/29 14:54:08.095658,  3, pid=28241] ../../lib/ldb-samba/ldb_wrap.c:332(ldb_wrap_connect)
  ldb_wrap open of secrets.ldb
[2021/12/29 14:54:08.103302,  3, pid=28241] ../../lib/ldb-samba/ldb_wrap.c:332(ldb_wrap_connect)
  ldb_wrap open of privilege.ldb
[2021/12/29 14:54:08.106534,  3, pid=28241] ../../source3/smbd/password.c:72(register_homes_share)
  No home directory defined for user 'HIN+hanmus1'
[2021/12/29 14:54:08.399028,  3, pid=28154] ../../source3/smbd/trans2.c:3637(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1003
[2021/12/29 14:54:08.402439,  3, pid=28241] ../../lib/util/access.c:371(allow_access)
  Allowed connection from 192.168.72.24 (192.168.72.24)
[2021/12/29 14:54:08.402551,  3, pid=28241] ../../libcli/security/dom_sid.c:215(dom_sid_parse_endp)
  string_to_sid: SID urs is not in a valid format
[2021/12/29 14:54:08.403626,  3, pid=28241] ../../libcli/security/dom_sid.c:215(dom_sid_parse_endp)
  string_to_sid: SID hanmus1 is not in a valid format
[2021/12/29 14:54:08.404323,  3, pid=28241] ../../source3/smbd/service.c:609(make_connection_snum)
  make_connection_snum: Connect path is '/srv/backup' for service [Backup]
[2021/12/29 14:54:08.404462,  3, pid=28241] ../../libcli/security/dom_sid.c:215(dom_sid_parse_endp)
  string_to_sid: SID urs is not in a valid format
[2021/12/29 14:54:08.405178,  3, pid=28241] ../../libcli/security/dom_sid.c:215(dom_sid_parse_endp)
  string_to_sid: SID hanmus1 is not in a valid format
[2021/12/29 14:54:08.406019,  3, pid=28241] ../../source3/smbd/vfs.c:115(vfs_init_default)
  Initialising default vfs hooks
[2021/12/29 14:54:08.406108,  3, pid=28241] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2021/12/29 14:54:08.406201,  3, pid=28241] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [streams_xattr]
[2021/12/29 14:54:08.408412,  3, pid=28241] ../../lib/util/modules.c:167(load_module_absolute_path)
  load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/vfs/streams_xattr.so' loaded
[2021/12/29 14:54:08.408455,  3, pid=28241] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [fruit]
[2021/12/29 14:54:08.410603,  3, pid=28241] ../../lib/util/modules.c:167(load_module_absolute_path)
  load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/vfs/fruit.so' loaded
[2021/12/29 14:54:08.410655,  3, pid=28241] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [catia]
[2021/12/29 14:54:08.412505,  3, pid=28241] ../../lib/util/modules.c:167(load_module_absolute_path)
  load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/vfs/catia.so' loaded
[2021/12/29 14:54:08.412560,  3, pid=28241] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [acl_xattr]
[2021/12/29 14:54:08.414716,  3, pid=28154] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_OBJECT_NAME_NOT_FOUND] || at ../../source3/smbd/smb2_create.c:334
[2021/12/29 14:54:08.414773,  3, pid=28154] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_FILE_CLOSED] || at ../../source3/smbd/smb2_server.c:3224
[2021/12/29 14:54:08.414815,  3, pid=28154] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[9] status[NT_STATUS_FILE_CLOSED] || at ../../source3/smbd/smb2_server.c:3224
[2021/12/29 14:54:08.415178,  3, pid=28241] ../../lib/util/modules.c:167(load_module_absolute_path)
  load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/vfs/acl_xattr.so' loaded
[2021/12/29 14:54:08.415376,  3, pid=28241] ../../source3/modules/vfs_fruit.c:1298(fruit_connect)
  fruit_connect: Enabling durable handles for Time Machine support on [Backup]
[2021/12/29 14:54:08.415466,  2, pid=28241] ../../source3/modules/vfs_acl_xattr.c:292(connect_acl_xattr)
  connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service Backup
[2021/12/29 14:54:08.415609,  3, pid=28241] ../../libcli/security/dom_sid.c:215(dom_sid_parse_endp)
  string_to_sid: SID urs is not in a valid format
[2021/12/29 14:54:08.416431,  3, pid=28241] ../../libcli/security/dom_sid.c:215(dom_sid_parse_endp)
  string_to_sid: SID hanmus1 is not in a valid format
[2021/12/29 14:54:08.417118,  3, pid=28241] ../../libcli/security/dom_sid.c:215(dom_sid_parse_endp)
  string_to_sid: SID administrator is not in a valid format
[2021/12/29 14:54:08.417796,  3, pid=28241] ../../libcli/security/dom_sid.c:215(dom_sid_parse_endp)
  string_to_sid: SID join-backup is not in a valid format
[2021/12/29 14:54:08.418669,  2, pid=28241] ../../source3/smbd/service.c:852(make_connection_snum)
  192.168.72.24 (ipv4:192.168.72.24:53006) connect to service Backup initially as user HIN+hanmus1 (uid=2013, gid=5001) (pid 28241)
[2021/12/29 14:54:08.451451,  3, pid=28241] ../../lib/util/access.c:371(allow_access)
  Allowed connection from 192.168.72.24 (192.168.72.24)
[2021/12/29 14:54:08.451580,  3, pid=28241] ../../source3/smbd/service.c:609(make_connection_snum)
  make_connection_snum: Connect path is '/tmp' for service [IPC$]
[2021/12/29 14:54:08.451691,  3, pid=28241] ../../source3/smbd/vfs.c:115(vfs_init_default)
  Initialising default vfs hooks
[2021/12/29 14:54:08.451778,  3, pid=28241] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2021/12/29 14:54:08.451875,  3, pid=28241] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [acl_xattr]
[2021/12/29 14:54:08.451984,  3, pid=28241] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [dfs_samba4]
[2021/12/29 14:54:08.454389,  3, pid=28241] ../../lib/util/modules.c:167(load_module_absolute_path)
  load_module_absolute_path: Module '/usr/lib/x86_64-linux-gnu/samba/vfs/dfs_samba4.so' loaded
[2021/12/29 14:54:08.454482,  2, pid=28241] ../../source3/modules/vfs_acl_xattr.c:292(connect_acl_xattr)
  connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service IPC$
[2021/12/29 14:54:08.455272,  3, pid=28154] ../../source3/smbd/nttrans.c:2212(smbd_do_query_security_desc)
  smbd_do_query_security_desc: sd_size = 296.
[2021/12/29 14:54:08.457981,  3, pid=28241] ../../source3/smbd/oplock_linux.c:247(linux_init_kernel_oplocks)
  Linux kernel oplocks enabled
[2021/12/29 14:54:08.458060,  3, pid=28241] ../../libcli/security/dom_sid.c:215(dom_sid_parse_endp)
  string_to_sid: SID administrator is not in a valid format
[2021/12/29 14:54:08.458826,  3, pid=28241] ../../libcli/security/dom_sid.c:215(dom_sid_parse_endp)
  string_to_sid: SID join-backup is not in a valid format
[2021/12/29 14:54:08.459588,  3, pid=28241] ../../source3/smbd/service.c:852(make_connection_snum)
  192.168.72.24 (ipv4:192.168.72.24:53006) connect to service IPC$ initially as user HIN+hanmus1 (uid=2013, gid=5001) (pid 28241)
[2021/12/29 14:54:08.473704,  3, pid=28241] ../../source3/smbd/trans2.c:3637(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1003
[2021/12/29 14:54:08.474378,  3, pid=28241] ../../source3/smbd/service.c:1127(close_cnum)
  192.168.72.24 (ipv4:192.168.72.24:53006) closed connection to service IPC$
[2021/12/29 14:54:08.475204,  3, pid=28241] ../../source3/smbd/trans2.c:3637(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1005
[2021/12/29 14:54:08.477331,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_INTERNAL_ERROR] || at ../../source3/smbd/smb2_server.c:2017
[2021/12/29 14:54:08.478203,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_FILE_CLOSED] || at ../../source3/smbd/smb2_server.c:3224
[2021/12/29 14:54:08.478716,  3, pid=28241] ../../source3/smbd/trans2.c:3637(smbd_do_qfsinfo)
  smbd_do_qfsinfo: level = 1003
[2021/12/29 14:54:08.484594,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_OBJECT_NAME_NOT_FOUND] || at ../../source3/smbd/smb2_create.c:334
[2021/12/29 14:54:08.484806,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_FILE_CLOSED] || at ../../source3/smbd/smb2_server.c:3224
[2021/12/29 14:54:08.485017,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[9] status[NT_STATUS_FILE_CLOSED] || at ../../source3/smbd/smb2_server.c:3224
[2021/12/29 14:54:08.489590,  2, pid=28241] ../../source3/smbd/open.c:1529(open_file)
  HIN+hanmus1 opened file .com.apple.timemachine.supported-e81e1234-505b-4ee4-8d14-9543103f1026 read=Yes write=No (numopen=1)
[2021/12/29 14:54:08.490098,  3, pid=28241] ../../source3/smbd/posix_acls.c:1206(unpack_nt_owners)
  unpack_nt_owners: owner sid mapped to uid 2013
[2021/12/29 14:54:08.490331,  3, pid=28241] ../../source3/smbd/posix_acls.c:1227(unpack_nt_owners)
  unpack_nt_owners: group sid mapped to gid 5001
[2021/12/29 14:54:08.492192,  3, pid=28241] ../../source3/smbd/nttrans.c:2212(smbd_do_query_security_desc)
  smbd_do_query_security_desc: sd_size = 296.
[2021/12/29 14:54:08.493579,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(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
[2021/12/29 14:54:08.494319,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(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
[2021/12/29 14:54:08.494984,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(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
[2021/12/29 14:54:08.495941,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_OBJECT_NAME_NOT_FOUND] || at ../../source3/smbd/smb2_create.c:334
[2021/12/29 14:54:08.496158,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[5] status[NT_STATUS_FILE_CLOSED] || at ../../source3/smbd/smb2_server.c:3224
[2021/12/29 14:54:08.497116,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(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
[2021/12/29 14:54:08.498292,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(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
[2021/12/29 14:54:08.499591,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(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
[2021/12/29 14:54:08.513553,  3, pid=28241] ../../lib/util/access.c:371(allow_access)
  Allowed connection from 192.168.72.24 (192.168.72.24)
[2021/12/29 14:54:08.513774,  3, pid=28241] ../../source3/smbd/service.c:609(make_connection_snum)
  make_connection_snum: Connect path is '/tmp' for service [IPC$]
[2021/12/29 14:54:08.513992,  3, pid=28241] ../../source3/smbd/vfs.c:115(vfs_init_default)
  Initialising default vfs hooks
[2021/12/29 14:54:08.514212,  3, pid=28241] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [/[Default VFS]/]
[2021/12/29 14:54:08.514269,  3, pid=28241] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [acl_xattr]
[2021/12/29 14:54:08.514289,  3, pid=28241] ../../source3/smbd/vfs.c:141(vfs_init_custom)
  Initialising custom vfs hooks from [dfs_samba4]
[2021/12/29 14:54:08.514318,  2, pid=28241] ../../source3/modules/vfs_acl_xattr.c:292(connect_acl_xattr)
  connect_acl_xattr: setting 'inherit acls = true' 'dos filemode = true' and 'force unknown acl user = true' for service IPC$
[2021/12/29 14:54:08.516748,  3, pid=28241] ../../libcli/security/dom_sid.c:215(dom_sid_parse_endp)
  string_to_sid: SID administrator is not in a valid format
[2021/12/29 14:54:08.517419,  3, pid=28241] ../../libcli/security/dom_sid.c:215(dom_sid_parse_endp)
  string_to_sid: SID join-backup is not in a valid format
[2021/12/29 14:54:08.518221,  3, pid=28241] ../../source3/smbd/service.c:852(make_connection_snum)
  192.168.72.24 (ipv4:192.168.72.24:53006) connect to service IPC$ initially as user HIN+hanmus1 (uid=2013, gid=5001) (pid 28241)
[2021/12/29 14:54:08.554476,  2, pid=28241] ../../source3/rpc_server/rpc_ncacn_np.c:998(make_external_rpc_pipe)
  tstream_npa_connect_recv  to /var/run/samba/ncalrpc/np for pipe mdssvc and user HIN\hanmus1 failed: Datei oder Verzeichnis nicht gefunden
[2021/12/29 14:54:08.554568,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_OBJECT_NAME_NOT_FOUND] || at ../../source3/smbd/smb2_create.c:334
[2021/12/29 14:54:08.555523,  3, pid=28241] ../../source3/smbd/service.c:1127(close_cnum)
  192.168.72.24 (ipv4:192.168.72.24:53006) closed connection to service IPC$
[2021/12/29 14:54:23.479640,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_FILE_CLOSED] || at ../../source3/smbd/smb2_server.c:3224
[2021/12/29 14:54:38.481460,  3, pid=28241] ../../source3/smbd/smb2_server.c:3863(smbd_smb2_request_error_ex)
  smbd_smb2_request_error_ex: smbd_smb2_request_error_ex: idx[1] status[NT_STATUS_FILE_CLOSED] || at ../../source3/smbd/smb2_server.c:3224

This happens when a Mac tries to connect within TimeMachine. What’s going wrong here? I don’t have any clue.
Hope, there is someone who understand Samba logs.
Thanks