[RESOLVED] samba and ntlmv1 problem
I've a nas running under gentoo that share folders with samba to windows 7 laptop. I can access the shares with windows 7 without any problem. I'm using acronis true image to backup my laptop on the gentoo nas and it does not work(access denied). When looking in samba logs I see this:
[2012/04/16 20:20:43.936984, 0] ../libcli/auth/ntlm_check.c:54(smb_pwd_check_ntlmv1)
smb_pwd_check_ntlmv1: incorrect password length (72)
here is my configuration /etc/samba/smb.conf:
Can anyone help me to fix that issue?
It may be because TI runs as SYSTEM instead of as a user, and your NAS may reject the SYSTEM credentials or the authentication method being used by the system. You may want to try the "universal" Vista/Windows 7 authentication fix. By default, Vista and Windows 7 use only NTLMv2 authentication, and not all NAS boxes support NTLMv2. I see that your log contains an error message from NTLMv1, so that's a clue.
Try setting your Windows 7 PC to use NTLMv2 security only if negotiated. To do this, go to the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\LSA\ and change LmCompatibilityLevel from "3" to "1". If the key does not exist, create it.
Make sure that you have rebooted the PC after changing the registry key.
Some other troubleshooting suggestions are here: http://sourceforge.net/apps/phpbb/freenas/viewtopic.php?f=46&t=5782
When you are backing up, are you using the recovery CD version or the Windows version of TI 2012?
There is a large thread with various NAS issues on this forum here: http://forum.acronis.com/forum/24769
I know a little bit late but I say better late then never.
set lanman auth to Yes in global section of smb.conf
lanman auth = Yes
After this I was able to connect and store with my logindata for backing up.
you can tryout theses two settings too (global section):
client lanman auth = yes
client plaintext auth = yes
Nevertheless, I'm getting a short disconnect of my networkdrives when Acronis begins to work.