

/source3/auth/auth.c:343(auth_check_ntlm_password)Ĭheck_ntlm_password: Authentication for user -> FAILED with error NT_STATUS_WRONG_PASSWORD, authoritative=1 Ntlm_password_check: NTLMv1 passwords NOT PERMITTED for user gsovetov /libcli/auth/ntlm_check.c:429(ntlm_password_check) Although, log level = 2 would've been enough.Ĭompared logs of a failed connection from Windows 7 and a succeeded connection from Ubuntu 20.04 itself:įrom Windows. Set log level in /etc/samba/smb.conf with log level = 5. Note that NTLMv2 has additional protection against replay attacks. The fix is to force NTLMv2 for client connection on the Windows machine: set HKLM\SYSTEM\CurrentControlSet\Control\Lsa!LmCompatibilityLevel to 5 or 3: (v=technet.10).Īnother but less secure fix is to enable NTLMv1 in /etc/samba/smb.conf with ntlm auth = yes. The problem was that the Windows 7 machine attempted to authenticate with NTLMv1 while it was disabled on Ubuntu 20.04 in favor of NTLMv2. Please, help me to access the share from Windows. Try "help" to get a list of possible commands.Īsdasdasdasd D 0 Thu Apr 23 19:24:28 2020 I can connect it from the same machine: smbclient '\\192.168.1.252\develop' -U gsovetov%SecurePassword Usershare_acl=Everyone:R,Unix User\gsovetov:F,

I can see the share in net usershare: sudo net usershare info -long
#Smb client for windows 7 how to
No success.Īll manuals I could find in the Internet shows how to create a guest share, which is not what I need.
#Smb client for windows 7 password
I tried creating a user and setting a password in the Samba DB with smbpasswd. I tried different domain names: WORKGROUP, Unix User, hostname of the Ubuntu machine, empty domain. But it says "Logon failure: unknown user name or bad password". I do double click, enter my username and password, and hit Enter. In Ubuntu, in Files app, I click with right button on a folder, choose "Local Network Share" and check "Share this folder". The share must be protected with password. I want to share my private files on Ubuntu 20.04 via SMB with Windows 7 machine.
