Samba 在共享之后無法訪問問題


map to guest = Bad User
ntlm auth = yes
veto files = /.*/

后來各種研究折騰,在Samba 4.6.2的更新日志里找到:

To improve security, the NT LAN manager version 1 (NTLMv1) protocol is now disabled by default. If you require the insecure NTLMv1 protocol, set the ntlm auth parameter in the /etc/samba/smb.conf file to yes.

大意就是為了提高安全性,從4.6.2版本開始NTLMv1協議默認是關閉狀態的,需要手動配置開啟。

編輯 /etc/samba/smb.conf,在Global項下添加 ntlm auth = yes 參數
[root@eugbd-lapp0213 conf]# systemctl restart smb
Failed to restart smb.service: Unit not found.
[root@eugbd-lapp0213 conf]# yum install samba


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM