[Samba] Error NT_STATUS_CONNECTION_REFUSED

Rowland Penny
Wed, 20 Feb 2019 20:06:16 -0000

On Wed, 20 Feb 2019 14:51:15 -0500
"samba.x.eliezer613--- via samba" <samba at lists.samba.org>
wrote:

> Hi,
> After installing samba on ubuntu 18.04 following the guide at
>
https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller
> can't do anything with it.
>
> # smbclient -L localhost -N
> Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
>
> looks like its not even running...
>
> ps ax | egrep "samba|smbd|nmbd|winbindd"
>  1965 pts/0    S+     0:00 grep -E --color=auto
> samba|smbd|nmbd|winbindd
>
> # smbd -b | grep "CONFIGFILE"
>    CONFIGFILE: /etc/samba/smb.conf
>
> # smbd -b | egrep "LOCKDIR|STATEDIR|CACHEDIR|PRIVATE_DIR"
>    LOCKDIR: /var/run/samba
>    STATEDIR: /var/lib/samba
>    CACHEDIR: /var/cache/samba
>    PRIVATE_DIR: /var/lib/samba/private
>
> Thanks.

Well seeing as this is your second post on this subject and the third
install you have tried, I think it might just be something you are
either doing or not doing ;-)

Have you read this:

https://github.com/thctlo/samba4/blob/master/full-howto-Ubuntu18.04-samba-AD_DC.txt

Rowland