Pomale SMB na MacOS

Zda sa, ze apple implementoval feature SMB packet signingu na MacOS, ktora rapidne zabija troughput

na zistenie:

With your share mounted – execute the following command from a Terminal:

smbutil statshares -a

You should get a list of fields for each share you have currently connected. Here are some values to pay attention to:

  • SMB_VERSION – which SMB protocol version is active.
  • SIGNING_SUPPORTED – this means the server side supports signing, it does NOT mean signing is on.
  • SIGNING_ON – if “true” then signing is actually on for this connection.

 

Na vypnutie:

 

Buried in one thread on the Apple Discussion Forum is a suggestion to use the /etc/nsmb.conf file to disable client signing on the client end.

[default]
signing_required=no

After unmounting & remounting the SMB share, I verified this returns transfer speeds to normal.

You can do this in one single command as follows:

printf "[default]\nsigning_required=no\n" | sudo tee /etc/nsmb.conf >/dev/null

Then unmount and remount any SMB shares.