Sunday, November 24, 2024

macos – Smb issues with Mac 12.5 Monterey

I have an Linux VM running Openmediavault on a separate machine which has a usb3 external drive plugged in. I use this for file shares and time machine backups. It has worked perfectly for years. However, with Monterey 12.5 on my MBP I’ve noticed some samba issues with copying to the shares and time machine backups are failing.

If I try to copy a folder to the smb share, I see:

The operation can't be completed because you don't have permission to access some of the items.

On my older macbook running Big Sur, the copies complete successfully as well as the time machine backups. On another MBP running Monterey 12.5, I see the same behavior as my main MBP so it seems as this is some Monterey bug.

Google said to try to create a file at /etc/nsmb.conf on my Monterey MBP with this config:

[default]
protocol_vers_map=6

and rebooting. Same issue. I have tried changing the 6 to a 2 and rebooting, but I see the same issue. If I mount the Linux VM (running Openmediavault) and type smbutil statshares -a
This is what is displayed:

SERVER_NAME                   192.168.1.48
                              USER_ID                       501
                              SMB_NEGOTIATE                 SMBV_NEG_SMB2_ENABLED
                              SMB_VERSION                   SMB_2.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_SHARE_TYPE                DISK
                              SIGNING_SUPPORTED             TRUE
                              EXTENDED_SECURITY_SUPPORTED   TRUE
                              UNIX_SUPPORT                  TRUE
                              LARGE_FILE_SUPPORTED          TRUE
                              OS_X_SERVER                   TRUE
                              DFS_SUPPORTED                 TRUE
                              FILE_LEASING_SUPPORTED        TRUE
                              MULTI_CREDIT_SUPPORTED        TRUE

The Openmediavault forum said this was a Monterey issue, and not anything with their software. It does seem as if it is, as my old MBP with Big Sur works perfectly with the smb shares.

Have you all seen this behavior with Monterey, and how did you fix it?

Related Articles

Latest Articles