The setsebool is used to set SELinux boolean value i.e. various configurtions can be enabled or disabled using this tool. In other words, the setsebool command switches on and off the protection of Selinux. Type getsebool -a to see all such options which can be enabled or disabled at run time:
For example, if httpd_disable_trans set to 1, it will disable SELinux protection for Apache web server. To disable it, enter:
To enable it, enter:
setsebool httpd_disable_trans 1
The following should give you a pretty complete listing of all the samba switches:
setsebool httpd_disable_trans 0
getsebool -a | grep "*samba*"