發新話題
打印

[轉貼]windows 7 存取 samba

[轉貼]windows 7 存取 samba

http://roraiba99.blogspot.com/2010/04/windows-7-samba.html

2010年4月18日星期日

windows 7 存取 samba

windows 7 存取 samba

有些使用較舊版samba架設的檔案分享功能,windows 7 (win7) 也許無法存取,

一直跳出要你輸入帳號密碼,即使輸入正確還是相同的結果。

因為驗證機制不相容才會有此種情形發生,那要如何解決呢?

以下教法只針對client端的作業系統去做修改:

1.家用進階版 以下 ( Home Premium , Home Basic , Starter )

修改regedit

在 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa] 下

新增32位元
命名為
LmCompatibilityLevel
值為1



註: 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.

TOP

發新話題