Samba 4 AD DC does not connect a user without a password how to fix it?

Such a problem is raised and Samba domain on it, change password policy, remove the complexity and number of characters, do it on the server and not via GPO, RSAT and. The user is created fine without a password, but can't go under it, writes what not the correct login and password. Tried on Win 7/8/10 everywhere this problem. How to fix it? Was digging everywhere for the answer and found none.
March 19th 20 at 08:31
1 answer
March 19th 20 at 08:33
In the file smb.conf, section global list
security = user
map to guest = bad password

then in the same section of tether balls insert

guest ok = yes
read only = no
create mask = 0777
directory mask = 0777

Find more questions by tags UbuntuSambaLinux