Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista networking & sharing

Vista - Connecting to a Linux (samba) share from Vista

Reply
 
Old 08-16-2007   #1 (permalink)
Chris Barnes


 
 

Connecting to a Linux (samba) share from Vista

This is weird. From another computer in my office (one running WinXP
Pro), I can connect to a shared directory on a Linux machine running
samba. In fact, there are a hundred such computers - and I cannot to
the share from every single one of them.

Which of course means there is nothing wrong with the linux machine,
samba on that machine, nor my shared directory on that server.


But I cannot connect to the share from the PC in my office, which
happens to be running Vista (64bit, Enterprise). The networking on that
Vista machine otherwise works perfectly (can use IE, Thunderbird, IM
programs, etc.). The Windows Firewall is on, but "file and print
sharing" is listed as an exception.

Also, I can get TO the shared folders on the Vista machine.


Note that this is a fairly new problem - the sharing was working fine up
until about 2-3 weeks ago (when I did a Windows update). Solution?

--

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chris Barnes AOL IM: CNBarnes
chris-barnes@tamu.edu Yahoo IM: chrisnbarnes

My System SpecsSystem Spec
Old 08-16-2007   #2 (permalink)
Chris Barnes


 
 

Re: Connecting to a Linux (samba) share from Vista

One other factoid: I *can* connect to a samba share on a different
Linux box...


--

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chris Barnes AOL IM: CNBarnes
chris-barnes@tamu.edu Yahoo IM: chrisnbarnes
My System SpecsSystem Spec
Old 08-16-2007   #3 (permalink)
Chris Barnes


 
 

Re: Connecting to a Linux (samba) share from Vista


Well.... ok. I found the answer on my own.
http://www.geektieguy.com/2006/09/18...ing-vista-rc1/

He wrote:
I ran across an issue with my home network server, which is running an
older version of Linux and Samba to share files around the house. Vista
RC1 wouldn’t authenticate with the server. After some digging using
Google I found out that you need to change one of the local security
policies from “Send NTLMv2 response only” to “Send LM & NTLM - use
NTLMv2 session security if negotiated”.

HKLM/System/CurrentControlCset/Control/LSA - LMCompatibilityLevel

It’s 3 by default on Vista RC1 (NTLM2 only) and I had to change it to 1
(LM & NTLM, NTLMv2 if negotiated).


--

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Chris Barnes AOL IM: CNBarnes
chris-barnes@tamu.edu Yahoo IM: chrisnbarnes
My System SpecsSystem Spec
Old 08-16-2007   #4 (permalink)
GTS


 
 

Re: Connecting to a Linux (samba) share from Vista


If Ultimate or Buisness version of Vista -

- Run secpol.msc
- Go to: Local Policies > Security Options
- Find "Network Security: LAN Manager authentication level"
- Change Setting from "Send NTLMv2 response only" to
"Send LM & NTLM - use NTLMv2 session security if negotiated"

If Home version (which lacks secpol) either save these 3 lines to a text
file with a reg extension and run it

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa]
"LmCompatibilityLevel"=dword:00000001

OR
Manually edit the registry

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\LMCompatibilityLevel
If it doesn't already exist, create a DWORD value named
LmCompatibilityLevel
Set the value to 1
--

"Chris Barnes" <chris-barnes@tamu.edu> wrote in message
news:OHG9EiD4HHA.4900@TK2MSFTNGP04.phx.gbl...
> This is weird. From another computer in my office (one running WinXP
> Pro), I can connect to a shared directory on a Linux machine running
> samba. In fact, there are a hundred such computers - and I cannot to the
> share from every single one of them.
>
> Which of course means there is nothing wrong with the linux machine, samba
> on that machine, nor my shared directory on that server.
>
>
> But I cannot connect to the share from the PC in my office, which happens
> to be running Vista (64bit, Enterprise). The networking on that Vista
> machine otherwise works perfectly (can use IE, Thunderbird, IM programs,
> etc.). The Windows Firewall is on, but "file and print sharing" is listed
> as an exception.
>
> Also, I can get TO the shared folders on the Vista machine.
>
>
> Note that this is a fairly new problem - the sharing was working fine up
> until about 2-3 weeks ago (when I did a Windows update). Solution?
>
> --
>
> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
> Chris Barnes AOL IM: CNBarnes
> chris-barnes@tamu.edu Yahoo IM: chrisnbarnes


My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Access denied: Is there a trick to connecting to an XP SP3 share from Vista? Vista networking & sharing
Linux print server (Samba) Vista hardware & devices
Connecting Vista HOME PREMIUM edition to Samba/MacOS servers??? Vista General
Connecting XP to Vista - share a drive/partition - RC2 Vista networking & sharing
Connecting Vista PC to MAC OS-X share on network Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46