Archive for the 'Nerdery' Category

get vista to work with samba

“Early adopters of Microsoft’s new Vista operating system may notice that it will not connect to Samba share folders out of the box. This will be a bit of a pain for many enterprise customers. The technical reason is because Microsoft Vista’s default security policy is to only use NTLMv2 authentication. According to a Google search Samba doesn’t support this yet.”

So I installed an OpenBSD firewall / samba file server at an office location with all Windows Vista workstations. I have refused to use Vista till this point because of everything bad that I have heard. I do not believe that it is necessary to have a core duo machine for a simple workstation. Anyways, I was unable to map the smb shares on the Vista machines. It appeared to be rejecting the user/password info. I was able to map just fine to the shares on an XP Pro machine. I did some digging and found a couple links that assisted in fixing the issue.

The first link I ran across was this one:
http://www.builderau.com.au/blogs/codemonkeybusiness/viewblogpost.htm?p=339270746

This article explained that I needed to run secpol.msc from the run command window. Well it didn’t appear that Vista Home Premium had that application. I was forced to keep searching the intarweb for answers.

Here is the second link I ran across:
https://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=660925&SiteID=1

This post helped me fix the authentication issues in Vista. I had to do the following:
1. Run regedit from run command window
2. Find HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\LMCompatibilityLevel
3. Modify LMCompatibilityLevel from 0×3 to 0×1
4. Exit regedit
5. Done!