Thank you. I've decided to rebuilt the vm again so that it has the correct samba config file as I've made somany changes. I will post the output on this post. In mean time What would you suggest NFS as my main criteria is to share the drive between Centos systems.
Thanks
Help - Samba share on second drive /dev/sdb1
Re: Help - Samba share on second drive /dev/sdb1
If you're aiming to use the share only between linux systems then NFS is likely to be a better choice.
RESOLVED: Help - Samba share on second drive /dev/sdb1
The problem resolved by changing the selinux mode
SELINUX =disabled
I also changed edited the iptables
sudo iptables -I INPUT 4 -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT
sudo iptables -I INPUT 5 -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT
sudo iptables -I INPUT 6 -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT
and then enabled SAMBA from firewall.
Question: not sure whether it is a good idea or not about disabling SELINUX . Any precautions pl..
Thanks
SELINUX =disabled
I also changed edited the iptables
sudo iptables -I INPUT 4 -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT
sudo iptables -I INPUT 5 -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT
sudo iptables -I INPUT 6 -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT
and then enabled SAMBA from firewall.
Question: not sure whether it is a good idea or not about disabling SELINUX . Any precautions pl..
Thanks