Wednesday, August 22, 2007

摘自 Kappa Work:Vista and Samba Server - 樂多日誌

Vista 與 Samba 連線的問題 可改 NTLM 授權認證方式
參考下列資料
The solution, however, is pretty easy using the registry.

The key:


HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\LMCompatibilityLevel

controls the security level mandated or allowed for logins. In Vista it defaults to 0x3, which means "NTLMv2 only". This is not supported by Samba, or at least not supported by any of the Samba servers I use (Mac OS X, Debian Sarge, or Buffalo TeraStation). This is despite the fact that the Samba documentation implies that it should work.

The fix is to change it to 0x1, which means "use NTLMv2 if available, or older versions if not." Reboot. Samba shares will work just fine.

Hope that helps people out. It made me happy, now I can get at my backup server again.

jim frost
jimf@frostbytes.com

或參考下列 Blog

Kappa Work:Vista and Samba Server - 樂多日誌