Re: Samba What a struggle

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux