Problem: A slave join hangs caused by 26univention-samba.inst script

samba
join

#1

Problem:

A slave join hangs caused by 26univention-samba.inst script

Investigation:

The server master has no samba installed and the slave has “samba 3” So the slave joins within samba against itself. dpkg -l shows an installed univention-samba-slave-pdc
The join against itself is a net rpc join and can be checked manually.
net rpc join -d 5 -U Administrator%<password> -Slocalhost machinepass=$(</etc/machine.secret)

Solution:

If the “net rpc join” joins successfully it is maybe a timing problem.
In this case 03univention-directory-listener.inst takes more than 3 hours within the univention-join. If you run just univention-run-join-script afterwards the joinskript 26univention-samba.inst finishes immediatly


#2