Friday 22 January 2010

windows vista backuppc and samba problem

Hi,

m back with one more issue.

if u have windows vista as one of your client machines and you want to back up it using Backuppc software. U may get some problems. As Windows Vista does not work with all versions of smbclient.

So if check ur smbclient and samba-common version installed in ur computer. if they are less that 3.0.25 , then u can get problems with acessing ur vista shared drive.

Some errors like session setup failed: NT_STATUS_LOGON_FAILURE can be encountered.

Fiirst check if u can access the vista share using following command.

smbclient //ip-of-the-machine/shared-partition -U vista-user-name

if u can access the vista share , u are very lucky. if not upgrade to newer samba-common and smbclient packages as i mentioned earlier.

Second imp thing to do is:

from http://forums.windowsvistamagazine.com/forums/2111/ShowThread.aspx

To get Vista to work with Samba follow the simple instructions below:

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”

Not a lot of use in my case as I have Vista Home Premium that does not have secpol.msc which is only found in Business an Ultimate. A little more looking revealed:

If you’re running a version of Vista that cannot use secpol.msc, you can edit the registry instead. Just change the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\LMCompatibilityLevel from a 3 to a 1.

Then I started thinking (dangerous thing probably triggered by an aversion to registry edits) if Vista wants you to use NTLMv2, it is probably because LAN manager is inherently less secure than NTLMv2. Therefore would it not be better to enable this in Samba that is supposed to support it in version 3?

now if u can smbclient to that vista machine without any problems then u can easily use backuppc with any vista share.

No comments:

Post a Comment