Help - Samba share on second drive /dev/sdb1

General support questions
SA2057
Posts: 7
Joined: 2013/02/01 10:32:05

Re: Help - Samba share on second drive /dev/sdb1

Post by SA2057 » 2013/02/04 14:01:46

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

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Help - Samba share on second drive /dev/sdb1

Post by TrevorH » 2013/02/04 14:30:44

If you're aiming to use the share only between linux systems then NFS is likely to be a better choice.

SA2057
Posts: 7
Joined: 2013/02/01 10:32:05

RESOLVED: Help - Samba share on second drive /dev/sdb1

Post by SA2057 » 2013/02/06 11:06:32

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

Post Reply