Vista and Samba Shares

W

William Colls

We have just acquired a new Toshiba laptop, with Vista Home Premium
preinstalled. When I try to explore the network, I only see another
Vista machine. None of the XP machines show up, and none of the shares
exported by samba on our linux servers are visible. If I explicitly map
the users home directory from a server to a local drive, it works, and
the user can read/write to it. We need to be able to browse the server
exports. Anyone had this problem and found a solutiuon?

TIA for any help.
 
M

Malke

William said:
We have just acquired a new Toshiba laptop, with Vista Home Premium
preinstalled. When I try to explore the network, I only see another
Vista machine. None of the XP machines show up, and none of the shares
exported by samba on our linux servers are visible. If I explicitly map
the users home directory from a server to a local drive, it works, and
the user can read/write to it. We need to be able to browse the server
exports. Anyone had this problem and found a solutiuon?

From Michael Bishop (MS) - 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: change Vista's security settings to permit
lower-security authentications. (as below)

To enable Windows Vista to connect to Mac OS X with Windows File Sharing
enabled or Linux (presumably with Samba and shares set up correctly
since you have other machines successfully sharing) you will need to
change the following policy in Windows Vista:

Start>Run>secpol.msc [enter]

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 Steve Winograd, do:

1. Run the registry editor and open this key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa

1. If it doesn't already exist, create a DWORD value named
LmCompatibilityLevel

3. Set the value to 1

4. Reboot


Malke
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top