There are more information about samba configuration, but when setting up the user, there are still things to pay attention to. Record here
For the configuration of samba, please refer to
https://blog.csdn.net/qq_36119192/article/details/82733374
You can set the service limit by configuring valid users.
Note that the user and password here should be created through smbpasswd.
You may encounter the problem of not being able to connect more than one, as follows
https://blog.51cto.com/mengix/1895969
There is a solution inside. After clearing the previous configuration, restart the computer and enter the password to connect