图解Vista如何连接到Samba


微软新操作系统Vista的先期使用者可能会注意到他们不能用现成的方式连接到Samba。这对于很多企业用户来说是一件痛苦的事情。从技术上讲,这是因为微软Vista默认的安全策略是只使用NTLMv2身份验证。根据从Google上搜索到的情况来看,Samba目前还不支持这一验证方式。

更新:有一些读者指出,NTLMv2身份验证在Samba 3.0里得到了支持。但是在这里,我当然不想这么做。

要让Vista使用Samba,就要采取下面几个简单步骤:

1. 打开“运行Run)”命令框,输入“secpol.msc”。

图 1

2. 当Vista提示的时候按“继续continue)”按钮。

3. 点击“本地策略Local Policies)”-->“安全选项Security Options)”。

图 2

4. 找到“网络安全:局域网管理器身份验证级别Network Security: LAN Manager authentication level)”,打开它。

5. 在默认情况下,Windows Vista会把该策略设为“只响应NTVLM2NTVLM2 responses only)”。把这一策略改为“LM和NTLM——如果协商就使用NTLMV2会话安全LM and NTLM – use NTLMV2 session security if negotiated)”。

图 3

一旦完成了上述步骤,Windows Vista就能够查看基于Samba服务器的网络驱动器,并修补将Samba作用主域控制器所导致的任何问题。

英文原文:

Early adopters of Microsoft’s new Vista operating system may notice that it will not connect to Samba share folders out of the box. This will be a bit of a pain for many enterprise customers. The technical reason is because Microsoft Vista’s default security policy is to only use NTLMv2 authentication. According to a Google search Samba doesn’t support this yet.

To get Vista to work with Samba follow the simple instructions below:

1. Open the Run command and type "secpol.msc".

2. Press "continue" when prompted by Vista.

3. Click on "Local Policies" --> "Security Options"

4. Navigate to the policy "Network Security: LAN Manager authentication level" and open it.

5. By default Windows Vista sets the policy to "NTVLM2 responses only". Change this to "LM and NTLM – use NTLMV2 session security if negotiated".

Once you’ve done this Windows Vista will be able to view network drives based on Samba servers and should fix any issues around using Samba as a Primary Domain Controller.

相关文章】

  • 一步一学Linux与Windows 共享文件Samba v0.2b)
  • 拨号用户使用局域网上的Linux Samba服务器
  • Linux Samba Server的配置文件解析
  • Linux Samba服务应用专题

相关内容