查看完整版本: [轉貼]windows 7 存取 samba

chun 2011-10-27 16:43

[轉貼]windows 7 存取 samba

http://roraiba99.blogspot.com/2010/04/windows-7-samba.html<br><h2 class="date-header"><span>2010年4月18日星期日</span></h2>

         
        


<a name="4610011576464962486"></a>
<h3 class="post-title entry-title">
windows 7 存取 samba
</h3>
<div class="post-header">

</div>

windows 7 存取 samba<br><br>有些使用較舊版samba架設的檔案分享功能,windows 7 (win7) 也許無法存取,<br><br>一直跳出要你輸入帳號密碼,即使輸入正確還是相同的結果。<br><br>因為驗證機制不相容才會有此種情形發生,那要如何解決呢?<br><br>以下教法只針對client端的作業系統去做修改:<br><br>1.家用進階版 以下 ( Home Premium , Home Basic , Starter )<br><br>修改regedit<br><br>在 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa] 下<br><br>新增32位元<br>命名為<br>LmCompatibilityLevel<br>值為1<br><br><a href="http://4.bp.blogspot.com/_JP569J1P1WM/S8um1Ap2zRI/AAAAAAAAB28/7uHtO8fTMeo/s1600/01.png"><img style="cursor:pointer; cursor:hand;width: 320px; height: 215px;" src="http://4.bp.blogspot.com/_JP569J1P1WM/S8um1Ap2zRI/AAAAAAAAB28/7uHtO8fTMeo/s320/01.png" alt="" id="BLOGGER_PHOTO_ID_5461642402755693842" border="0"></a><br><br>註: LmCompatibilityLevel 數字的意義<br>0=Send LM &amp; NTLM responses  (never uses NTLMv2)<br>1=Send LM &amp; NTLM - use NTLMv2 session security if negotiated<br>2=Send NTLM response only, use NTLMv2 if server supports it.<br>3=Send NTLMv2 response only, if DC accept LM, NTLM and NTLMv2 auth, use NTLMv2 security if supported.<br>4=Send NTLMv2 response only, if DC refuse LM, accept NTLM or NTLMv2 auth, use NTLMv2 security if supported.<br>5=Send NTLMv2 response only, if DC,refuse LM &amp; NTLM and only accept NTLMv2 auth, use NTLMv2 security if supported.<br><br>2.專業版 以上 ( Professional , Enterprise , Ultimate )<br><br>開啟命令提示列,執行secpol.msc (安全性設定主控台)<br><br><a href="http://3.bp.blogspot.com/_JP569J1P1WM/S8unDMsF8yI/AAAAAAAAB3E/sN-QzA48xI8/s1600/02.png"><img style="cursor:pointer; cursor:hand;width: 320px; height: 210px;" src="http://3.bp.blogspot.com/_JP569J1P1WM/S8unDMsF8yI/AAAAAAAAB3E/sN-QzA48xI8/s320/02.png" alt="" id="BLOGGER_PHOTO_ID_5461642646504469282" border="0"></a><br><br>Security Settings –&gt; Local Policies –&gt; Security Options  <br><br>修改 Network security: LAN Manager authentication level 這Policy的設定<br><br><a href="http://1.bp.blogspot.com/_JP569J1P1WM/S8unL0lY4aI/AAAAAAAAB3M/-CeShnf4GGQ/s1600/03.png"><img style="cursor:pointer; cursor:hand;width: 320px; height: 230px;" src="http://1.bp.blogspot.com/_JP569J1P1WM/S8unL0lY4aI/AAAAAAAAB3M/-CeShnf4GGQ/s320/03.png" alt="" id="BLOGGER_PHOTO_ID_5461642794652721570" border="0"></a><br><br>選擇此值:Send LM &amp; NTLM - use NTLMv2 session security if negotiated。<br><br>按OK後,再試試是否可以存取samba分享的目錄<br><br><a href="http://2.bp.blogspot.com/_JP569J1P1WM/S8unVGYoEPI/AAAAAAAAB3U/2vEe4FEHkHE/s1600/04.png"><img style="cursor:pointer; cursor:hand;width: 270px; height: 320px;" src="http://2.bp.blogspot.com/_JP569J1P1WM/S8unVGYoEPI/AAAAAAAAB3U/2vEe4FEHkHE/s320/04.png" alt="" id="BLOGGER_PHOTO_ID_5461642954049851634" border="0"></a><br><br><a href="http://2.bp.blogspot.com/_JP569J1P1WM/S8unaikGC1I/AAAAAAAAB3c/LTTTgB1-FrU/s1600/05.png"><img style="cursor:pointer; cursor:hand;width: 269px; height: 320px;" src="http://2.bp.blogspot.com/_JP569J1P1WM/S8unaikGC1I/AAAAAAAAB3c/LTTTgB1-FrU/s320/05.png" alt="" id="BLOGGER_PHOTO_ID_5461643047513492306" border="0"></a><br><br>Send
LM &amp; 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.
<br>
頁: [1]
查看完整版本: [轉貼]windows 7 存取 samba