Prerequisite Environment:
WIN10 system computer One.
One of the CentOS system computers, install Samba in the system, and configure sharing.
To resolve the issue:
In Win10 do a network mapping, set the CentOS shared folder to the cost of the hard drive. At the time of mapping, also checked "Reconnect at login", but after the computer restarts the login but does not have the automatic connection, the disk is attached is a big red fork, need to enter the password after the click, to connect. Every time you need to do this, it's very troublesome.
The solution:
Right-click on the mapped local hard drive, which is the D drive (which may also be a different disk, with the drive letter selected at the time of mapping), and select the bottom [properties] option in the pop-up menu.
Then click on the "Security" page in the Properties tab that pops up.
In the "group or user name (G):" Selection box below the one that represents the CentOS system, and then set the permissions below to "Allow", click "Apply", click "OK", or click "OK" can also.
At this point, all configurations are complete. After that, after restarting the computer, after landing, the map to the local network drive will be able to automatically connect, and automatically login, no need to click, and then enter the password.
Create a network drive with automatic login in Win10