[Samba] Connection refused

Galiba Péter peter.galiba at c2design.hu
Mon Aug 4 09:09:34 GMT 2003


As you've wrote the porblem should be around the firewall...
ipchains and i think iptables is up (not sure about iptables - it replys
with an error).
A tried to connect to 192.168.0.100 through http and it shows an error for
that too...
I have Webmin on that server... this is the only thing I can connect to from
an other computer with
http://192.168.0.100:10000 so this should be becouse of the firewall(s).

Thanks for your help, I'll inform you about my success in this question.

Poetro

----- Original Message ----- 
From: "Marian Mlcoch, Ing" <mm at tsmp.sk>
To: "Galiba Péter" <peter.galiba at c2design.hu>; <samba at lists.samba.org>
Sent: Mon, 04 Aug 2003 10:54
Subject: Re: [Samba] Connection refused


> This samba is old but i try help you. As you write you compile samba with
> SSL and i mean that problem is on this.
> Second way to problem is firewall settings on client or server (c2-server
or
> c2-server3)
> Try first add to yuor smb.conf global section netbios name.
> Second is local interfaces test on c2-server3 console try commands:
> netstat -na
> smbclient -L localhost
> smbclient -L 192.168.0.100
> smbclient -L c2-server3
>
> test on c2-server console try commands:
> ping 192.168.0.100
> telnet 192.168.0.100 139
>
>
> Reply to mail this command status.
>
> Bye.
>
>
>
> ----- Original Message ----- 
> From: "Galiba Péter" <peter.galiba at c2design.hu>
> To: <samba at lists.samba.org>
> Sent: Monday, August 04, 2003 10:28 AM
> Subject: Re: [Samba] Connection refused
>
>
> > Samba is running form inetd. I don't think there's a firewall on that
> > machine, but i look around it.
> > I tried many thing with the config... but still can only log inform
> > localhost.
> >
> > Poetro
> > ----- Original Message ----- 
> > From: "Joel Hammer" <Joel at hammershome.com>
> > To: "Galiba Piter" <peter.galiba at c2design.hu>; <samba at lists.samba.org>
> > Sent: Sat, 02 Aug 2003 00:06
> > Subject: Re: [Samba] Connection refused
> >
> >
> > > Is samba running?
> > > Is samba being controlled by (x)inetd?
> > > Joel
> > > On Fri, Aug 01, 2003 at 02:19:56PM +0200, Galiba Piter wrote:
> > > > I have newly configured our new HP Netserver LC 2000r with Samba
> 2.0.7.
> > > > The Samba was compiled with SSL.
> > > > I can connect to it from localhost, but from any other ip i got the
> > error:
> > > > connectionrefused
> > > >
> > > > c2-server:~# smbclient -L 192.168.0.100
> > > > added interface ip=192.168.0.3 bcast=192.168.0.255
nmask=255.255.255.0
> > > > error connecting to 192.168.0.100:139 (Connection refused)
> > > > Connection to 192.168.0.100 failed
> > > >
> > > > c2-server:~# smbclient -L c2-server3
> > > > added interface ip=192.168.0.3 bcast=192.168.0.255
nmask=255.255.255.0
> > > > Connection to c2-server3 failed
> > > >
> > > >
> > > > The name of the Server is C2-Server3, and it is on 192.168.0.100.
> > > > The smb.conf file looks like this:
> > > >
> > > > [global]
> > > >    printing = bsd
> > > >    printcap name = /etc/printcap
> > > >    load printers = yes
> > > >    guest account = nobody
> > > >    security = user
> > > >    workgroup = C2
> > > >    server string = %h server (Samba %v)
> > > >    syslog only = no
> > > >    syslog = 0;
> > > >    socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
> > SO_RCVBUF=4096
> > > >    encrypt passwords = yes
> > > >    wins support = no
> > > >    name resolve order = lmhosts host wins bcast
> > > >    dns proxy = no
> > > >    preserve case = yes
> > > >    short preserve case = yes
> > > >    unix password sync = false
> > > >    max log size = 1000
> > > >    ssl CA certFile = /etc/share/certs/ca-certs.crt
> > > >
> > > > [homes]
> > > >    comment = Home Directories
> > > >    browseable = no
> > > >    read only = no
> > > >    create mask = 0700
> > > >    directory mask = 0700
> > > >
> > > > [printers]
> > > >    comment = All Printers
> > > >    browseable = no
> > > >    path = /tmp
> > > >    printable = yes
> > > >    public = no
> > > >    writable = no
> > > >
> > > > [munka-9]
> > > >   path = /mnt/data/munka-9
> > > >   public = yes
> > > >   writable = yes
> > > >   comment =
> > > >   force group = c2-users
> > > >   force create mode = 777
> > > >   force directory mode = 777
> > > >   printable = no
> > > >
> > > >
> > > >
> > > > Can anybody tell me what went wrong?
> > > > There is no error in the log files. They don't even tell that I
wanted
> > to
> > > > connect, only if I connect from localhost.
> > > >
> > > > Thanks..
> > > > Poetro
> > > >
> > > >
> > > > -- 
> > > > To unsubscribe from this list go to the following URL and read the
> > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > >
> > >
> >
> >
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>





More information about the samba mailing list