[Samba] Error NT_STATUS_CONNECTION_REFUSED

Rowland Penny
Wed, 20 Feb 2019 20:21:33 -0000

On Wed, 20 Feb 2019 20:58:11 +0100
Reindl Harald via samba <samba at lists.samba.org> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>
>
> Am 20.02.19 um 20:51 schrieb samba.x.eliezer613--- via samba:
> > After installing samba on ubuntu 18.04 following the guide at
> > https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directo
> ry_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

> i guess you are supposed at least to know how to start services in the
> howto

The wiki page tells you how to start the 'samba' binary, it also tells
you to use the distro service start mechanism if you use distro
packages.

Rowland