My configurationThe configuration should be ok, but there is still a message indicating that there is no permission when connecting. Searching for the reason, it is found that the configuration of the /etc/sysconfig/selinux file will forcibly restrict secure access. Modify the configuration as follows

The problem was resolved, but the impact of this change was not evaluated.

Note: This is one of the reasons why Windows connections to Samba are showing no permission problems, but it is unclear whether there are other reasons for the connection problems.