[Samba] ERROR:connection refused after provision
fgonzalez at uci.cu
Fri Nov 18 20:29:51 UTC 2016
See comments at the end--->
----- Original Message -----
| From: "Rowland Penny" <rpenny at samba.org>
| To: samba at lists.samba.org
| Sent: Tuesday, November 15, 2016 3:50:54 PM
| Subject: Re: [Samba] ERROR:connection refused after provision
| On Tue, 15 Nov 2016 15:25:57 -0500 (CST)
| Felipe_G0NZÁLEZ_SANTIAG0 via samba <samba at lists.samba.org> wrote:
| > Hello,
| > After I provision my server, when I try to create the DNS reverse
| > zone I get this error: Failed to connect host 10.53.3.11 on port 135
| > - NT_STATUS_CONNECTION_REFUSED Failed to connect host 10.53.3.11
| > (10.53.3.11) on port 135 - NT_STATUS_CONNECTION_REFUSED.
| > ERROR(runtime): uncaught exception - (-1073741258, 'The connection
| > was refused') File
| > "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
| > 175, in _run return self.run(*args, **kwargs) File
| > "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 850, in
| > run dns_conn = dns_connect(server, self.lp, self.creds) File
| > "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 40, in
| > dns_connect dns_conn = dnsserver.dnsserver(binding_str, lp, creds)
| > Besides :
| > kinit: Cannot contact any KDC for realm
| > wbinfo -u:
| > could not obtain winbind interface details:
| > WBC_ERR_WINBIND_NOT_AVAILABLE could not obtain winbind domain name!
| > Error looking up domain users
| > and samba-tool processes:
| > Service: PID
| > -----------------------------
| > Then, I reboot the server and all work fine.
| > What could be happening?
| > Any idea? I need this process works fine without rebooting.
| It should work without a reboot. I take it you are starting Samba
| before trying to create the reverse zone and you are pointing the
| nameserver in /etc/resolv.conf to the DC itself (either its IP or
| 127.0.0.1) ?
Yes, I re-start samba just after provision.
And yes, I point the nameserver to its real IP address (nameserver 10.53.3.11).
I've a question about the /etc/hosts file's content: Can I add
'10.53.3.11 ubuntu.ejemplo.cu ubuntu'
and keep the entry: '127.0.1.1 ubuntu' ??
Should I delete this entry ?
NOTE: I'm using ubuntu16.04 and installing samba from repo
root at ubuntu:~# samba -V
Waiting for any idea, Felipe.
The University of Informatics Sciences invites you to participate in the Scientific Conference UCIENCIA 2016, November 24-26.
Conferencia Científica UCIENCIA 2016, del 24 al 26 de noviembre.
More information about the samba