Univention Bugzilla – Bug 32246
Re-join of S4 slave PDC
Last modified: 2014-06-05 15:37:34 CEST
We should do this in the join script: +++ This bug was initially created as a clone of Bug #32245 +++ To re-join a Samba 4 Slave PDC (UCS@school school DC with Samba4) the following steps are necessary before the join can be started: root@slave42:~# mv /var/lib/samba/private /var/lib/samba/private.BACKUP root@slave42:~# mkdir -p /var/lib/samba/private
Actually what happens in this case is a re-provision. In my short test on a plain UCS DC Master samba 4.0.3 handled this fine (somewhat to my positive surprise) even without manually removing the existing sam.ldb. But: the S4 connector listener required a resync in my case, otherwise a lot of objects were missing in Samba4, especially the DNS data. No idea yet why it works when the samba backend data is removed, maybe UCS@school Slave PDC is different here.
Created attachment 5882 [details] cleanup_before_provision.patch
*** Bug 34021 has been marked as a duplicate of this bug. ***
Patch applied along with Bug #35000 Advisory: 2014-05-28-univention-samba4.yaml
YAML: OK Tests: OK Code: OK
http://errata.univention.de/ucs/3.2/119.html