Today, the CentOS-built Samba discovers that the CentOS system can be accessed directly, but wind accesses the account and password errors. (This has already ruled out issues such as building problems and Accounts)
I found a lot of information. Network security: LAN Manager Authentication Level issues
1, local security policy, local policy-security options, you need to modify the default values to modify the way:
Find registry Browse to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
Delete the LMCompatibilityLevel key directly. OK after deletion.
2, run the secpol.msc command. Open the local security policy.
3. View network security: LAN Manager authentication level, security setting has changed to default "no definition"
After the change, the input account password can be accessed directly.
windows open CentOS version of Samba input password hint, user or password error