Linux SAMBA/CIFS 網路芳鄰 限制連線電腦之 SAMBA 版本以防止 WannaCrypt

1. 利用 vim  CentOS 6/7 SAMBA設定檔,/etc/samba/smb.conf
2. 在 [global] 內之設定值,加入
    min protocol = SMB2
    protocol = SMB2

 3. service smb restart
    或
     systemctl restart smb    # CentOS 7

同場加映 Microsoft Security Essential and Windows defender
https://support.microsoft.com/zh-tw/help/14210/security-essentials-download

https://support.microsoft.com/zh-tw/help/17464/windows-defender-help-protect-computer


參考資料
https://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html
https://support.microsoft.com/zh-tw/help/2696547/how-to-enable-and-disable-smbv1-smbv2-and-smbv3-in-windows-and-windows-server

這個網誌中的熱門文章

Upgrade php and httpd(apache) on CentOS 7

Installing VMware workstation pro on Ubuntu 22.X (Jammy Jellyfish)