Web lists-archives.com

Re: [Samba] Samba4 server is not accessible for logon from Windows 2008R2 SP1.




I discovered the situation.
When attempting to logon from Windows 2008R2 to Samba4 is made we can see
in Samba smbd log the following important for understanding the situation
lines:

[2017/11/20 13:25:52.040094,  2, pid=7100, effective(0, 0), real(0, 0)]
../libcli/auth/ntlm_check.c:430(ntlm_password_check)
  ntlm_password_check: NTLMv1 passwords NOT PERMITTED for user <username>
[2017/11/20 13:25:52.040110,  3, pid=7100, effective(0, 0), real(0, 0)]
../libcli/auth/ntlm_check.c:437(ntlm_password_check)
  ntlm_password_check: NEITHER LanMan nor NT password supplied for user
<username>

It tell us that Samba4 doesn't wany to accept NTLMv1 authentication.

So, it is easy to solve (as was in my case) .
You should put to smb.conf to
[general] section the followng line:
ntlm auth = yes


also I set max protocol = SMB3
but I think that it is not important for this case.

After changing smb.conf restarting of Samba4 services are necessary.

So I can mark the topic as Solved !





2017-11-19 17:47 GMT+03:00 CpServiceSPb . <cpservicespb@xxxxxxxxx>:

> There is Samba4 4.7.2 acting as standalone server on Ubuntu 14.04.x64.
> Also there is Windwos 2008R2 SP1 acting as DC in the same network.
> And also Windows XP/7 are in this network.
> Logon to Samba4 is accessible from Windows XP and Windowx 7 but not
> accessible from Windos 2008R2.
> As logon to Windows clients is accessible from Windows 2008R2.
> Username and password is asked by Samba and provided from Windows 2008R2
> during logon to Samba4 server but it asks username/password again and again
> and not accept provided one.
> That is logon is unsuccessfull.
> The same situation was with Samba4 beginning from 450 version.
> Regarding versions prior, don' t remember exactly.
> What is the way to solve issue ?
>
>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba