Re: SMB connection failed
- From: "gainil" <gainil@xxxxxxxxx>
- Date: 17 Dec 2005 02:29:50 -0800
Thanks for your replies guys !! but the issue is not with the command i
tried both smbmount and mount with proper switches!!
The issue is with the firewall, if i disable it then the smbmount -t
and mount works perfectly fine, for reference i have given the iptables
file below.
Kurt wrote:
> Make that smbmount //server/share /localdir -o username=.......
>
> ....kurt
>
> Kurt wrote:
> >
> > For FC3 try smbmount //server/share -o
> > username=<name>,password=<password>[,workgroup=<workgroup>]
> >
> > For RH9 you may need to use mount -t smbfs, look for the exact syntax in
> > the man page for mount.
> >
> > gainil wrote:
> >
> >> Hi,
> >>
> >> I have 4 PCs, two have Win2k, one has RedHat 9 and the other has
> >> Fedora Core 3.
> >>
> >> I want to access shared folders on Win2k PC from FedoraCore 3 PC
> >>
> >> I use the following commands and got the error
> >>
> >> [root@locahlost sysconfig]# mount //machinename/sharename /mountpoint
> >> -o =username
> >> 5614: Connection to ntserver failed
> >> SMB connection failed
> >> [root@locahlost sysconfig]#
> >>
> >> I disabled the firewall and all is working fine.
> >> I want to know how can i enable the firewall and achieve the same
> >>
> >> If firewall is put on my /etc/sysconfig/iptables file looks like this
> >>
> >> # Firewall configuration written by system-config-securitylevel
> >> # Manual customization of this file is not recommended.
> >> *filter
> >> :INPUT ACCEPT [0:0]
> >> :FORWARD ACCEPT [0:0]
> >> :OUTPUT ACCEPT [0:0]
> >> [root@locahlost sysconfig]# cat iptables
> >> # Firewall configuration written by system-config-securitylevel
> >> # Manual customization of this file is not recommended.
> >> *filter
> >> :INPUT ACCEPT [0:0]
> >> :FORWARD ACCEPT [0:0]
> >> :OUTPUT ACCEPT [0:0]
> >> :RH-Firewall-1-INPUT - [0:0]
> >> -A INPUT -j RH-Firewall-1-INPUT
> >> -A FORWARD -j RH-Firewall-1-INPUT
> >> -A RH-Firewall-1-INPUT -i lo -j ACCEPT
> >> -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
> >> -A RH-Firewall-1-INPUT -p 50 -j ACCEPT
> >> -A RH-Firewall-1-INPUT -p 51 -j ACCEPT
> >> -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT
> >> -A RH-Firewall-1-INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
> >> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 137
> >> -j ACCEPT
> >> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 138
> >> -j ACCEPT
> >> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 139
> >> -j ACCEPT
> >> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 445
> >> -j ACCEPT
> >> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 23 -j
> >> ACCEPT
> >> -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j
> >> ACCEPT
> >> -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited
> >> COMMIT
> >> [root@locahlost sysconfig]#
> >>
> >> Any suggestion would be helpful
> >> Thanks in advance
> >>
.
- References:
- SMB connection failed
- From: gainil
- Re: SMB connection failed
- From: Kurt
- Re: SMB connection failed
- From: Kurt
- SMB connection failed
- Prev by Date: Re: SMB connection failed
- Next by Date: Re: chmod does not remain changed
- Previous by thread: Re: SMB connection failed
- Next by thread: chmod does not remain changed
- Index(es):
Relevant Pages
|
|