[Samba] *samba3 ports

Gavin Davenport gavdav at gavdav.demon.co.uk
Tue Oct 21 11:06:34 GMT 2003

iptables -L -v will show you which rules are being triggered (when the
service is started).

Its possible its hitting the implicit deny all for the input rule, try
adding some logging to your rules.

-----Original Message-----
From: samba-bounces+gavdav=gavdav.demon.co.uk at lists.samba.org
[mailto:samba-bounces+gavdav=gavdav.demon.co.uk at lists.samba.org]On
Behalf Of Faisal, Emir (KPC)
Sent: 21 October 2003 07:19
To: samba at lists.samba.org
Subject: [Samba] *samba3 ports

Dear netters,
My linux box is installed with samba 3.0.0 and joined with NT domain (w2k
based). Samba are working fine, until I filter the incoming traffic using
iptables (v1.2.7a) on default RedHat 9 kernel 2.4.20-8, using these rules:

[root at Bhp-0m03-0472 root]# cat /etc/sysconfig/iptables
# Generated by iptables-save v1.2.7a on Sun Oct 12 19:36:36 2003
[0:0] -A INPUT -i lo -j ACCEPT
[0:0] -A INPUT -p icmp -j ACCEPT
[0:0] -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
[0:0] -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
[0:0] -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
[0:0] -A INPUT -p udp -m state --state NEW -m multiport --dports
135,netbios-ns,netbios-dgm,netbios-ssn,microsoft-ds -j ACCEPT
[0:0] -A INPUT -p tcp -m state --state NEW -m multiport --dports
135,netbios-ssn,microsoft-ds -j ACCEPT
# Completed on Sun Oct 12 19:36:36 2003
[root at Bhp-0m03-0472 root]#

when these rules is activated, i can't access my linux shares and my linux
return these error:

	\\samba\sharename is not accessible.
	There are currently no logon servers available to
	service the logon request.

the error will gone when i deactivated the iptables. What is gone wrong ?


More information about the samba mailing list