Basically, the issue with Samba and Vista is that Vista no longer permits LM
or NTLM authentication by default; only NTLMv2. Samba versions 1.x and 2.x
only support LM and NTLM, so there's an issue there.
Recommended solution: upgrade to Samba 3.x and enable NTLMv2 by adding
"client ntlmv2 auth = yes" to your smb.conf file. Because of another issues
with previous versions, I strongly recommend upgrading to 3.0.22 or later
regardless of your choice for this particular instance.
Alternate solution, as Malke previously posted (copied below): Change
Vista's security settings to permit lower-security authentications.
>Click on "Local Policies" --> "Security Options"
>Navigate to the policy "Network Security: LAN Manager authentication level"
>and double-click it to get its Properties. By default Windows Vista sets
>the policy to "NTVLM2 responses only". Use the drop-down arrow to change
>this to "LM and NTLM - use NTLMV2 session security if negotiated".
>In Vista Home Premium, you won't have this tool so per MVP Steve Winograd,
>1. Run the registry editor and open this key:
> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Lsa
>1. If it doesn't already exist, create a DWORD value named
>3. Set the value to 1
"Malke" <email@example.com> a écrit dans le message de
> Lazius wrote:
>> I have recently updated my Media Center to Vista and have a major problem
>> accessing my music collection which is hosted in a Linux (SMB2) box
>> I can access the shares after removing the default to NTLMv2, however,
>> Media Player adds the music to library, at some point, the wireless
>> connection will just be disabled. Same happens when listing folders of
>> that server that contain many items or
>> are nested.
>> The event logs show loads of errors from Media Player and lots of info
>> in the system log stating that TCP/IP has resumed normal operation.
>> It's a major PITA and actually renders Vista completely useless for my
>> Has anyone experienced similar issues? Is there a way to get into some XP
>> compatibility mode as with XP, it worked perfectly?
> When you say "SMB2" is that the name of the box or are you running an
> older version of Samba on it? Make sure you have the latest version of
> Samba. Since the connection is made wirelessly, have you experienced any
> other disconnects with the wireless? What is the wireless hardware, both
> your adapter and the router?
> There have been a lot of compatibility problems between Vista and Samba
> reported in the newsgroups, but we should determine that this is really
> the culprit and not something else like older Sam the wireless drivers,
> Elephant Boy Computers
> "Don't Panic!"
> MS-MVP Windows - Shell/User