.# Problem
Accessing Shares at a Joined CentOS7 Server gives “Access Denied”
Environment
A CentOS7 server joined as member server to the UCS domain. Shares are configured on the CentOS7 server to be available for users within the UCS domain. Configuration of the Samba parts seems to be correct and no further error messages can be seen.
Solution
Disable SELinux on CentOS7 server by editing the file /etc/sysconfig/selinux
and restart your CentOS7 server:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled