samba.x.eliezer613 at spamgourmet.com
2019-Feb-20 19:51 UTC
[Samba] Error NT_STATUS_CONNECTION_REFUSED
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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <http://lists.samba.org/pipermail/samba/attachments/20190220/77206e80/signature.sig>
-----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_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/privatei guess you are supposed at least to know how to start services in the howto -----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEnStGzbwUCjZ1OuTXMxdNWliSt7gFAlxtsVMACgkQMxdNWliS t7juXQwAw/IvWSS1xrb4zUzbbcn26L9expkAqpxL3GOpx6mGeSOKFhzykQxCwbfc MF97iv52dx+xqc7pqSDI5hLqFGxtlwqyjji3/jZWB5h72slu60tN6KSdYHRPJRrl +oMBhkrAtgx2oEdNsUcOpK1CgT9NlTJDjj3kUN9RAs0uYDlvvTmrr8aOHROCCYzR GAEPiinzTHHX0VuWpLXneekKSGFiFewNbP8itdUpt3mQQ/IfZryQwkVLQKyq7UjQ rQSopFYle0nWkpgLYd2IibjWt3uYb1mIGqVRi7guKNvxfstXlvRjNqfggQLIZjIa ln9LRAXCrQZ3ZmXr4ZAB5M0DGg2lOmXj8VDuwR6cryMCmmT8OIz8P49XNEngCgQV auioBE3oAwFAd/7nOUF1V7xh/yueMEwvT5+qP2v/QcP8HkyR2aXlTXig52FIhqn/ KRkJawvCB2nKr3afzZwaP08GTgZlSXZGcOoX3I9ckz90NhYj+/pgI922KXG4aimd lMfe+sUL =WEbl -----END PGP SIGNATURE-----
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
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 > howtoThe 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
Rowland Penny
2019-Feb-21 08:50 UTC
[Samba] Error NT_STATUS_CONNECTION_REFUSED samba@lists.samba.org)
On Wed, 20 Feb 2019 17:21:18 -0500 samba.x.eliezer613 at spamgourmet.com wrote:> Hi, followed your github page. Near the end get...It's not my github page, it's Louis's> cat /etc/netplan/01-netcfg.yaml > cat: /etc/netplan/01-netcfg.yaml: No such file or directoryCannot help you there, I always remove netplan, but perhaps Louis can comment.> > I am running ubuntu 18.04. Not sure if that is what your page is > about.You mean a document called 'full-howto-Ubuntu18.04-samba-AD_DC.txt' doesn't give you a hint ;-)> Question, why no workgroupYou are in an AD domain and no workgroups were found> > # smbclient -L localhost -N > Anonymous login successful > > Sharename Type Comment > --------- ---- ------- > netlogon Disk > sysvol Disk > IPC$ IPC IPC Service (Samba 4.7.6-Ubuntu) > Reconnecting with SMB1 for workgroup listing. > Anonymous login successful > > Server Comment > --------- ------- > > Workgroup Master > --------- ------- >At least you seem to have got it working now.> Current /etc/samba/smb.conf > # Global parameters > [global] > netbios name = DC1 > realm = DC1.INTERNAL > server role = active directory domain controller > server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, > drepl, winbindd, ntp_signd, kcc, dnsupdate > workgroup = REDACTED > idmap_ldb:use rfc2307 = yes > > [netlogon] > path = /var/lib/samba/sysvol/dc1.internal/scripts > read only = No > > [sysvol] > path = /var/lib/samba/sysvol > read only = No >And you are using Bind9, correctly I hope. Rowland
Possibly Parallel Threads
- Error NT_STATUS_CONNECTION_REFUSED samba@lists.samba.org)
- Error NT_STATUS_CONNECTION_REFUSED
- how to configure smb.conf after installing samba-dc.x86_64 0:4.8.3-4.el7 centos7 (trusted: samba@lists.samba.org)
- Samba AD-DC idmap config
- I have issue in configuring file servers with AD integration.