註: LmCompatibilityLevel 數字的意義 0=Send LM & NTLM responses (never uses NTLMv2) 1=Send LM & NTLM - use NTLMv2 session security if negotiated 2=Send NTLM response only, use NTLMv2 if server supports it. 3=Send NTLMv2 response only, if DC accept LM, NTLM and NTLMv2 auth, use NTLMv2 security if supported. 4=Send NTLMv2 response only, if DC refuse LM, accept NTLM or NTLMv2 auth, use NTLMv2 security if supported. 5=Send NTLMv2 response only, if DC,refuse LM & NTLM and only accept NTLMv2 auth, use NTLMv2 security if supported.
2.專業版 以上 ( Professional , Enterprise , Ultimate )
開啟命令提示列,執行secpol.msc (安全性設定主控台)
Security Settings –> Local Policies –> Security Options
修改 Network security: LAN Manager authentication level 這Policy的設定
選擇此值:Send LM & NTLM - use NTLMv2 session security if negotiated。
按OK後,再試試是否可以存取samba分享的目錄
Send
LM & NTLM - use NTLMv2 session security if negotiated: Clients use
LM and NTLM authentication and use NTLMv2 session security if the server
supports it; domain controllers accept LM, NTLM, and NTLMv2
authentication.