Univention Bugzilla – Bug 45111
Don't re-provision if univention-samba4 gets uninstalled and re-installed
Last modified: 2017-08-16 13:34:13 CEST
We should backport this to UCS 4.1-4 too and check the special case of S4C hosted on a DC Backup. +++ This bug was initially created as a clone of Bug #44787 +++
Patches backported. I had to backport the univention-samba4 parts of Bug 43478 too. Now, when I have the S4-Connector on a DC Backup (only) I can uninstall univention-samba4 and reinstall univention-s4-connector and everything continues to work, so we got Bug 44787 covered. But to cover the situation of Ticket #2017073121000288 we need to do one additional thing: It should also work for re-joins, but in that case samba needs to be informed about the new machine.secret. I guess we should split that into a separate Bug, to be able to fix that transparently in errata4.2-1 and errata4.1-4 Advisory: univention-samba4.yaml
OK - update OK - master (samba, connector), backup (samba) - master remove/install u-samba4 -> INFO: This system runs the S4-Connector and the sam.ldb looks functional, skipping re-provision. - backup remove/install u-samba4 -> dom join OK - master (samba), backup (samba, connector), slave (samba) - master remove/install u-samba4 -> dom join - slave remove/install u-samba4 -> dom join - backup remove/install u-samba4 -> INFO: This system runs the S4-Connector and the sam.ldb looks functional, skipping re-provision. OK - YAML
<http://errata.software-univention.de/ucs/4.1/448.html>