Web lists-archives.com

Re: [Samba] Failed to connect host xx on port 135 - NT_STATUS_CONNECTION_REFUSED




On Tue, 28 Mar 2017 17:12:33 +0200 (CEST)
Martin Hauptmann <post@xxxxxxxxxxx> wrote:


> 
> > What daemons are running ?
> 
> root@dc2:~# pstree
> systemd─┬─acpid
>         ├─agetty
>         ├─atd
>         ├─cron
>         ├─dbus-daemon
>         ├─exim4
>         ├─named───4*[{named}]
>         ├─ntpd
>         ├─rpc.idmapd
>         ├─rpc.statd
>         ├─rpcbind
>         ├─rsyslogd─┬─{in:imklog}
>         │          ├─{in:imuxsock}
>         │          └─{rs:main Q:Reg}
>         ├─samba───smbd───smbd
>         ├─samba───winbindd───winbindd
>         ├─sshd───sshd───sshd───bash───su───bash───pstree
>         ├─systemd-journal
>         ├─systemd-logind
>         └─systemd-udevd
> 
> 

Why is Bind9 running ?
You are not using it for Samba.

> > What is in /etc/resolv.conf 
> 
> root@dc2:~# cat /etc/resolv.conf 
> domain museum.rubens.world
> nameserver 192.168.0.241
> nameserver 192.168.0.242
> 

I would replace 'domain' with 'search'

> 
> > /etc/hosts /etc/krb5.conf ?
> 
> root@dc2:~# cat /etc/hosts
> 127.0.0.1	localhost
> 192.168.0.241	dc1.museum.rubens.world	dc1
> 192.168.0.243	samba-fs.museum.rubens.world	samba-fs
>

Apart from '127.0.0.1' the only thing that should be there, isn't
192.168.0.242 dc2.museum.rubens.world dc2

I take it '192.168.0.242' is the IP for dc2

/etc/krb5.conf ??? 
 
Try fixing the above and then restart Samba.

Rowland



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba