Page 1 of 2

[Help] Apple dropping support for AFP for Time Machine

Posted: 01 Aug 2025, 01:42
by REBELinBLUE
On the latest version of macOS you get these warnings when backing up to a Time Machine share on a F4-210 running 4.2.44


Image
Image

https://support.apple.com/en-gb/102423? ... s-04282025

If I turn off AFP and connect to the share via SMB it does not show as a suitable target in Time Machine, from what I know it needs to be SMB v3 which smbutil shows it is

Code: Select all

❯ smbutil statshares -a

==================================================================================================
SHARE                         ATTRIBUTE TYPE                VALUE
==================================================================================================
timemachine
                              SERVER_NAME                   TNAS-3BD1._smb._tcp.local
                              USER_ID                       502
                              SMB_NEGOTIATE                 SMBV_NEG_SMB1_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB2_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB3_ENABLED
                              SMB_VERSION                   SMB_3.1.1
                              SMB_ENCRYPT_ALGORITHMS        AES_128_CCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_128_GCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_256_CCM_ENABLED
                              SMB_ENCRYPT_ALGORITHMS        AES_256_GCM_ENABLED
                              SMB_CURR_ENCRYPT_ALGORITHM    OFF
                              SMB_SIGN_ALGORITHMS           AES_128_CMAC_ENABLED
                              SMB_SIGN_ALGORITHMS           AES_128_GMAC_ENABLED
                              SMB_CURR_SIGN_ALGORITHM       AES_128_CMAC
                              COMPRESSION_IO_THRESHOLD      4096
                              COMPRESSION_CHUNK_LEN         262144
                              COMPRESSION_MAX_FAIL_CNT      5
                              WRITE_COMPRESSION_CNT         0
                              WRITE_CNT_LZ77Huff            0
                              WRITE_CNT_LZ77                0
                              WRITE_CNT_LZNT1               0
                              WRITE_CNT_FWD_PATTERN         0
                              WRITE_CNT_BWD_PATTERN         0
                              READ_COMPRESSION_CNT          0
                              READ_CNT_LZ77Huff             0
                              READ_CNT_LZ77                 0
                              READ_CNT_LZNT1                0
                              READ_CNT_FWD_PATTERN          0
                              READ_CNT_BWD_PATTERN          0
                              SMB_SHARE_TYPE                DISK
                              SIGNING_SUPPORTED             TRUE
                              EXTENDED_SECURITY_SUPPORTED   TRUE
                              LARGE_FILE_SUPPORTED          TRUE
                              FILE_IDS_SUPPORTED            TRUE
                              DFS_SUPPORTED                 TRUE
                              MULTI_CREDIT_SUPPORTED        TRUE
                              SESSION_RECONNECT_TIME        0:0
                              SESSION_RECONNECT_COUNT       0

--------------------------------------------------------------------------------------------------

Re: [Help] Apple dropping support for AFP for Time Machine

Posted: 01 Aug 2025, 01:50
by crisisacting
Disable older versions of SMB (if that's possible on TOS 4 on ARM) & it should become a "suitable target".

Re: [Help] Apple dropping support for AFP for Time Machine

Posted: 02 Aug 2025, 01:30
by REBELinBLUE
There is no option to disable older versions of SMB in TOS 4 from what I have found

Re: [Help] Apple dropping support for AFP for Time Machine

Posted: 02 Aug 2025, 18:29
by IrisLi
REBELinBLUE wrote: 02 Aug 2025, 01:30
1. Yes, according to the output results, the SMB_VERSION field: SMB_3.1.1 clearly indicates the latest subversion of SMB v3.

2. There is indeed no option to disable SMB1 on the page. However, you can go to Control Panel - File Services - SMB page, and in the advanced options, you can adjust the minimum version to SMB2.

Re: [Help] Apple dropping support for AFP for Time Machine

Posted: 04 Aug 2025, 02:32
by REBELinBLUE
Image

There is no such option unfortunately

Re: [Help] Apple dropping support for AFP for Time Machine

Posted: 05 Aug 2025, 01:16
by REBELinBLUE
Sorry but that is obviously not true.

If it were to only supports SMB1, it would be absolutely ridiculous as SMB1 was deprecated back in 2013, long before TOS4 was released.

But "smbutil statshares -a" clearly shows that the share is using SMB 3.1.1 and has 1, 2 and 3 enabled

Code: Select all

                              SMB_NEGOTIATE                 SMBV_NEG_SMB1_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB2_ENABLED
                              SMB_NEGOTIATE                 SMBV_NEG_SMB3_ENABLED
                              SMB_VERSION                   SMB_3.1.1

Re: [Help] Apple dropping support for AFP for Time Machine

Posted: 05 Aug 2025, 06:10
by REBELinBLUE
The problem appears to be that samba has not been compiled with the vfs modules needed, "acl_xattr fruit streams_xattr aio_pthread" and with the appropriate config in the Samba global config

Code: Select all

vfs objects = acl_xattr fruit streams_xattr aio_pthread
fruit:aapl = yes
fruit:model = MacSamba
fruit:posix_rename = yes
fruit:metadata = stream
fruit:nfs_aces = no
recycle:keeptree = no
oplocks = yes
locking = yes
and in the TM share

Code: Select all

fruit:time machine = yes
Of course there is no technical reason Terra-Master can't release an update to TOS 4 to fix this, although they have clearly abandoned it even though they still actively promote and sell the F4-210

Re: [Help] Apple dropping support for AFP for Time Machine

Posted: 05 Aug 2025, 16:50
by TMzethar
The promotion and sales of version 210 have already ceased. Due to limitations imposed by the kernel version and some other reasons, it is difficult to make further modifications.

Re: [Help] Apple dropping support for AFP for Time Machine

Posted: 05 Aug 2025, 20:46
by REBELinBLUE
The promotion and sales of version 210 have already ceased.
It is still actively sold on your own website :shock:

Image

Anyway, it doesn't require a newer kernel version to compile samba with the correct modules ;)

Re: [Help] Apple dropping support for AFP for Time Machine

Posted: 06 Aug 2025, 16:51
by TMzethar
REBELinBLUE wrote: 05 Aug 2025, 20:46
Non-sale products have been removed from the official website. Thank you for your reminder.