Vista just stopped working with Samba, XP still works fine

1

I run Ubuntu in a VirtualBox for web dev at work. I installed Samba on it so I can access it from various computers. Today I came into work as usual and the Vista(Host) machine can't connect to Samba anymore... My laptop... the one I bring from home... that runs XP is able to connect just fine.

Does anyone know what could have happened? Could it be something installed on that machine over the weekend, like updates or something. My user has been elevated to have Admin privilages on the machine so I don't see that being an issue... The Vista machine sees the Ubuntu machine on the network... though when I go to open it I get this error.

\\UBUNTU is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

The user name could not be found.

Serhiy

Posted 2009-11-16T17:14:34.527

Reputation: 153

Answers

1

Ran into a very similar issue. Could be the way that Vista is handling authentication to your Samba server, and the change you likely need to make is on the Windows Vista machine:

  • If it's Vista Ultimate Edition (or something other than Home Edition), check this out: http://www.builderau.com.au/blogs/codemonkeybusiness/viewblogpost.htm?p=339270746
  • If it's Vista Home Edition, then the "secpol.msc" option isn't available to you, and instead you should open "regedit", and change the following key value from "3" to "1" HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa\LMCompatibilityLevel

Apparently if you're using Samba 3.4.x or higher, this shouldn't be required, but your mileage may vary. I know that when I ran into this problem, it was a combination of the changes mentioned above, and adjusting the software firewall settings on the machine.

Hope that's what you need!

jefflunt

Posted 2009-11-16T17:14:34.527

Reputation: 277

0

If you've changed your configuration recently, then a /etc/init.d/samba reload won't always do it, you'll need to completely restart the service.

In any case, restarting samba couldn't hurt.

hova

Posted 2009-11-16T17:14:34.527

Reputation: 235

nope... didn't change anything... but roloaded, restarted samba, even restarted the host, and virtual machine, nothing same deal... – Serhiy – 2009-11-16T17:38:54.667