LoginSignup
1
2

More than 3 years have passed since last update.

macのsmbサーバーの設定(com.apple.smb.server.plistの値)を書き換える

Posted at

macでsambaを運用している場合、sambaの設定は/Library/Preferences/com.apple.smb.server.plistを書き換える必要がある。

sudo scutil --prefs com.apple.smb.server.plist

get /

d.add ProtocolVersionMap # 7

set /

commit

apply

quit

7なのは
 1 SMB 1 をサポートする
 2 SMB 2 をサポートする
 4 SMB 3 をサポートする
のビット和

SMB1を無効にしたいなら、6
SMB3だけにするなら、4

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2