Jesper Koivumäki
2014-May-02 14:29 UTC
[Samba] Failed to connect host on port 135 - NT_STATUS_CONNECTION_REFUSED
Hello, I've been trying to install Samba4 for a while now, following the instructions over at: http://linuxdrops.com/install-samba-4-on-centos-rhel-fedora-debian-ubuntu/ However, when I get to the stage where I should be able to join the domain with a Windows machine (7, not XP) I run into networking issues. For one, my network is behind a NAT so I can't just use a public DNS for this. Since Samba4 has its internal DNS server, that shouldn't be a problem, right? I tried to figure out what zonelists there are, so that I could add the domain there. This is what I get. $ sudo samba-tool dns zonelist 10.0.1.5 Failed to connect host 10.0.1.5 on port 135 - NT_STATUS_CONNECTION_REFUSED Failed to connect host 10.0.1.5 (10.0.1.5) on port 135 - NT_STATUS_CONNECTION_REFUSED. I'm guessing there should be a process listening to port 135, but $ sudo netstat -tulpan | grep "LISTEN" | grep "135" | wc -l 0 I've been trying to scour the web for this, but the results touch on a number of different problems, none of this apply to my situation. Any clues as to what I should try out next or what part of Samba4 is broken? -- Kind regards, Jesper Koivum?ki
Marcel de Reuver
2014-May-06 13:16 UTC
[Samba] Failed to connect host on port 135 - NT_STATUS_CONNECTION_REFUSED
2014-05-02 16:29 GMT+02:00 Jesper Koivum?ki <jesper.koivumaki at kulturfonden. fi>:> Hello, > > I've been trying to install Samba4 for a while now, following the > instructions over at: > > http://linuxdrops.com/install-samba-4-on-centos-rhel-fedora- > debian-ubuntu/ > >I hope you did install a more recent version of Samba4 then the one mention in your howto.....> However, when I get to the stage where I should be able to join the domain > with a Windows machine (7, not XP) I run into networking issues. For one, > my network is behind a NAT so I can't just use a public DNS for this. Since > Samba4 has its internal DNS server, that shouldn't be a problem, right? > >The Samba4 DNS server needs no further configuration, only needs a "dns fowarder" in smb.conf, in your case it will be your NAT device. Next your Windows clients should use the Samba4 box for DNS, if not Windows clients cannot join your AD.> I tried to figure out what zonelists there are, so that I could add the > domain there. This is what I get. > >With the Windows DNS tools from the RSAT package on a Windows workstation, you can query your Samba4 internal DNS server. See here<https://wiki.samba.org/index.php/Installing_RSAT_on_Windows_for_AD_Management>for the details on RSAT Best regards, Marcel de Reuver