forward:
The problem is that we just built the SMB share, there is no problem in the configuration, and it is already in normal use. During the large-scale promotion, some win7 and win10 users reported that the login failed: the username or password was wrong.
Solutions:
1. First enable log log 2 in the configuration file
, and then log in with the problematic computer to generate related error logs. You can check it in the specified log directory
. Obvious error, the red box area, the login trust is empty, the password type is NTLMv1
4, seeing here we judge that there should be a problem with the authentication of samba to windows, some computers and samba have different default authentication types, here we are in the configuration file Open this ntlm type and try
5, then save and restart the samba server, it can be used normally after testing
Summary: The security of ntlm certification is not very high, so slowly with the upgrade of the samba version, it is not enabled by default, but some computer systems still use this type of network access.