Thread: FC4 and SAMBA
View Single Post
Old 15th June 2005, 06:01 PM
mib4 Offline
Registered User
Join Date: May 2005
Posts: 54
Originally Posted by KBOOOM
I haven't installed FC4 yet, but had a quick glance at the release notes and samba (and the fact that it doesn't work "out of the box") is mentioned here:

Well, of course if you have enabled firewall that doesn't allow samba connections from outside... obviously you have to allow these connections first. It's out of question. The problem described above is that everything is set up correct but still samba doesn't work not because of a firewall issues but because of selinux.

With FC4 there is no but with the firewall at all talking about samba. The settings should be:

a) if you are using system-config-securitylevel-tui to make iptables config:

netbios-ns:udp netbios-dgm:udp netbios-ssn:tcp

b) if you are modifying /etc/sysconfig/iptables direct:

-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT

I do not know how it's under X because I'm not using X at all =)
Reply With Quote