Get the App
SLTechnology News&Howtos  ›  Servers  › 

Windows opens the centos version of samba to enter a password prompt, the user or password error

Shulou Source: shulou.com Published: 2022-06-02 21:13:24 09月22日 Update

Today, the Samba that built the centos found that the centos system can be accessed directly, but the account and password were wrong in the wind access. (problems such as setting up and accounts have been ruled out here.)

After looking for a lot of information, I found that the network security: the authentication level of LAN manager.

1. Local security policy, local policy-security option, which needs to be modified to the default value:

Find the registry and browse to HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Control\ LSA

Delete the LMCompatibilityLevel key directly. After confirming the deletion.

2. Run secpol.msc command. Open the local security policy.

3. View network security: LAN Manager authentication level, the security setting has become the default "not defined"

After modification, it is found that entering the account password can be accessed directly.

Tags: Security policy account question password level network network security identity management authentication error input command method registry system data build browse Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft macOS Shulou Information Apple Redmi