Samba What a struggle
Andrew Robinson
awrobinson at cox.net
Wed Mar 3 19:51:44 UTC 2004
Chris Botha wrote:
> Dear Fedora users. I am having my days with Fedora setting up Samba. I
> work according to the manuals and follow the basic instructions but with
> no hope. It refuses me to access the server.
>
> The things that I set was : Workgroup, server string, password with
> unix=yes, etc. Well I cant get it to ask for my password and username to
> grant me access to the server. Got any suggestions or settings that I
> should look at?
>
I had a similar problem when trying to set up Samba. I needed to
configure iptables to allow smb traffic to my server. Here are the
settings I have now:
# Samba access
-A RH-Firewall-1-INPUT -m udp -p udp --dport 137:138 -j ACCEPT
-A RH-Firewall-1-INPUT -m udp -p udp --sport 137:138 -j ACCEPT
-A RH-Firewall-1-INPUT -m tcp -p tcp --dport 139 -j ACCEPT
-A RH-Firewall-1-INPUT -m tcp -p tcp --dport 445 -j ACCEPT
-A RH-Firewall-1-INPUT -m udp -p udp --dport 445 -j ACCEPT
-A RH-Firewall-1-INPUT -m tcp -p tcp --dport 1512 -j ACCEPT
-A RH-Firewall-1-INPUT -m udp -p udp --dport 1512 -j ACCEPT
I don't think all of these iptables entries are required to get Samba to
work. However, this works for me.
Hope this helps.
Andrew Robinson
More information about the fedora-list
mailing list