samuelthomas2774 / airport

https://github.com/samuelthomas2774/airport/wiki
95 stars 14 forks source link

Apple Time Capsule & SMB signing settings #5

Open lorn10 opened 3 years ago

lorn10 commented 3 years ago

Hi there

At first, a happy new year 2021! :-)

This is not a bug report, - it is more a technical question. Apple is using also at their Time Capsules a specific FreeBSD version. That one includes a special samba version which handles the SMB1 and AFP network shares.

My main question is now, exists there a way to change (over SSH) the settings of the smb.conf file? Well, I am unsure how the whole samba situation looks at the Time Capsule, maybe Apple has here a fully different approach without the use of a regular smb.conf file.

The idea is to disable the SMB1 signing feature. This can be achieved with the server signing = disabled setting. The default TC settings seems to be server signing = mandatory. That on enforces the SMB1 signing in any case. Unfortunately this slow downs the transfer speed extremely. Over AFP it is possible to reach up to 100MB/s transfer speed to a network share, when the SMB1 protocol is used that one is falling down to around 15MB/s.

The disabling of the SMB1 signing accelerates the transfer times dramatically. This is confirmed for Mac OS X based SMB1 network shares. More information about that matter can be found here: https://apple.stackexchange.com/questions/401926/a-way-to-disable-the-smb-signing-mechanism-at-the-apple-time-capsule