Trying to join to an UCS domain fails.
In the /var/log/univention/join.log you will see the following error messages:
Failed to connect host 188.8.131.52 on port 135 - NT_STATUS_CONNECTION_REFUSED Failed to connect host 184.108.40.206 (220.127.116.11) on port 135 - NT_STATUS_CONNECTION_REFUSED. ERROR: Connecting to DNS RPC server 18.104.22.168 failed with (-1073741258, 'The transport-connection attempt was refused by the remote system.')
The Samba service on the master server is not reachable. There might be different reasons for this behaviour.
There might be a firewall in between the server-to-be-joined and the master DC.
Check your firewall settings and make sure all ports are open as documented
Verify a process on the master is listening on the interface by
root@master:~# netstat -anp| grep 135 tcp 0 0 22.214.171.124:135 0.0.0.0:* LISTEN 1666/samba tcp 0 0 127.0.0.1:135 0.0.0.0:* LISTEN 1666/samba tcp6 0 0 ::1:135 :::* LISTEN 1666/samba
If samba does not listen on the needed interfaces, check variables (through
ucr get VARIABLE):
samba/interfaces/bindonly: yes samba/interfaces: lo ens192 samba/register/exclude/interfaces: docker0
Verify if Samba is up and running - please use this way and do NOT use systemctl, service or other commands.
/etc/init.d/samba start /etc/init.d/samba status
Verify Samba is installed on master:
root@master:~# dpkg -l | grep univention-samba4 ii univention-samba4 7.0.2-26A~126.96.36.199810080957 amd64 UCS - Samba4 integration package
Otherwise install by