Connecting to Samba from Vista RC1

One of the things that is annoying me about Vista is that I can’t
connect to my SMB shares on my Mac. When I try to log in, it rejects my
password. I looked at /var/log/samba/log.smbd on my Mac, and here’s
what I saw:

[2006/09/21 13:55:45, 1] auth_ods.c:opendirectory_ntlmv2_auth_user(312)
  User "bjepson" failed to authenticate with
"dsAuthMethodStandard:dsAuthNodeNTLMv2" (-14090)  :( 

So I poked around the Group Policy Edit (type gpedit.msc into the
search or address box and press enter). I drilled down into:

Local Computer Policy
  -> Computer Configuration
    -> Windows Settings
      -> Security Settings
        -> Local Policies
          -> Security Options

and I changed “Network security: LAN Manager authentication level” to
“Send LM & NTLM – use NTLMv2 session security if negotiated” and it
seems to work.

This entry was posted in mac, operating systems, vista. Bookmark the permalink.

14 Responses to Connecting to Samba from Vista RC1

  1. Al says:

    Ah! Many thanks for this – I’ve been struggling with this all week

  2. Brian Jepson says:

    Thanks, Chris. I didn’t know that Microsoft distributed client bits for Services for Mac. What I’m trying to do is connect from Windows to a Mac Samba server, though. Since this is a client authentication module for the Mac, I’m not sure how it would integrate with the Samba server on the Mac.

  3. ken says:

    Thank you very much, sir. I’ve been itching to hack around on Vista, but I’m a Mac guy too, so ran into this problem within moments of getting a Vista machine built. Problem solved.

    Thanks again.

  4. ron scheinhaus says:

    Thanks! You nailed it. I.ve been trying to connect to a Samba server on a suse 9.0 virtual machine running under vista rc1

  5. Shahmir says:

    Worked like a charm, thnx.

  6. KregerS says:

    Thanks a ton, it’s to bad “our friends” at M$ don’t make things like this easier.

  7. Adam says:

    Many thanks – worked a charm here connecting to Mac OS X Server 10.3.9. Saved me hours!!

  8. Paul says:

    “Brilliant!” i thought to myself as I came across this page.
    “Blast!” i thought to myself as I reaslised my crappy work computer has Vista Home installed and apparently no gpedit.msc.

    Any ideas on how to achieve a similar result on Vista Home?

  9. Paul,

    Start up regedit and change this value:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LMCompatibilityLevel from a 3 to a 1

  10. Paul says:

    Thanks Yvo!

    Worked perfectly once I’d made the change as you described.

    Paul

  11. Shari says:

    Thanks so much! Worked like a charm! Saved me tons of looking, as our whole company is switching to Vista and I had to figure out how to get it to work :) . Thanks again!

  12. chukaman says:

    thanks tons for this. nice!!

  13. mike says:

    Thank you for this I couldnt connect, found this thru google in ten seconds. Worked like a charm.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>