閱讀975 返回首頁    go iPhone_iPad_Mac_apple


Disable SMBv1 MacOS Sierra

Is there a way to disable SMBv1 in macOS Sierra? 



There should be a smb.conf (or nsmb.conf) in either /etc/ or /etc/samba/ for global settings and one in ~/Library/Preferences for user settings.

 

I did not find it in either, however I did find references to it in the /usr/share/man/man5/nsmb.conf. It stated that SMBv1 is enabled.

 

I created both the nsmb.conf and smb.conf in both ~/Library/Preferences and /etc with the following content:

[global]

sever min protocol = SMB2_10

client min protocol = SMB2_10

client signing = mandatory

server signing = mandatory

 

[default]

sever min protocol = SMB2_10

client min protocol = SMB2_10

client signing = mandatory

server signing = mandatory

 

Scanning the machine shows SMBv1 is still enabled and signing is not mandatory. Is there another way to disable SMBv1 without relying on the configuration files as it appears MacOS Serria ignores them?



最後更新:2017-08-26 03:06:20

  上一篇:go Can I control iMac mouse/keyboard from Macbook ...
  下一篇:go i purchased and redeemed an itunes card. my acc...