[Samba] *samba3 ports

Faisal, Emir (KPC) Emir.Faisal at kpc.co.id
Tue Oct 21 06:18:49 GMT 2003


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
*filter
:INPUT DROP [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [2:100]
[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
COMMIT
# 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 ?

salam,
ef

Disclaimer - This message and any attachments may contain privileged
information. Any unauthorised use of this message by any person may lead to
legal consequences. Any views expressed in this message are those of the
individual sender and may not necessarily reflect the views of PT Kaltim
Prima Coal.



More information about the samba mailing list