Univention Bugzilla – Bug 47234
Singleserver join error: "Warning: 'univention-samba4slavepdc' is not configured."
Last modified: 2018-06-27 14:37:28 CEST
+++ This bug was initially created as a clone of Bug #47226 +++ Due to an added check (assert_dcaccount_and_bindpwd) the join script "96univention-samba4slavepdc.inst" now fails on master. The script should only be executed on a school slave -> move join script into ucs-school-slave and ucs-school-nonedu-slave. 96univention-samba4slavepdc.inst 98univention-samba4slavepdc-dns.inst
Do not release before bug 47226 is closed! Otherwise new @school systems are missing these join script.
As discussed this will be reverted and instead a check shall be added to the join script
comment 1 is not relevant anymore! [4.3-1 e1789882b1] Bug #47234: Move ucsschool specific join scripts into ucs-schol-metapackage [4.3-1 4129a87a68] Revert "Bug #47234: Move ucsschool specific join scripts into ucs-schol-metapackage" [4.3-1 9f6859fa5c] Bug #47234: readd joinscripts and add check instead [4.3-1 8632a21538] Bug #47234: yaml
I published to testing before the amd64 build was ready -> The tests I started this afternoon are still using the old version :( Note for 4.2: The demoting does "fail" silently. As long as no one uses "--ask-pass --force" for which there should be no reason on a master this should not be a problem. But at least one problem is that "univentionService: S4 SlavePDC" got added to all masters since bug 41168. We might need to clean that up.
I found a typo in "ldab_hostdn". And in one join script, eval "$(ucr shell)" was never called. I fixed both and rebuilt the package. cc4916de51 Bug #47234: update advisory da6c38bfd4 Bug #47234: improved UCS@school slave check
Package: univention-ldb-modules Version: 6.0.0-6A~4.3.0.201806262157 Branch: ucs_4.3-0 Scope: errata4.3-1
I had to rebuild the package again. A "joinscript_save_current_version" was missing in both join scripts. Package: univention-ldb-modules Version: 6.0.0-7A~4.3.0.201806270945 Branch: ucs_4.3-0 Scope: errata4.3-1
What I tested: @school slave: Removed 96univention-samba4slavepdc and 98univention-samba4slavepdc-dns from /var/univention-join/status -> 05_check_join_status fails (as expected) univention-run-join-scripts --run-scripts 96univention-samba4slavepdc -> no early exit -> OK univention-run-join-scripts --run-scripts 98univention-samba4slavepdc-dns -> no early exit -> OK 05_check_join_status passes -> OK @school singlemaster Removed 96univention-samba4slavepdc and 98univention-samba4slavepdc-dns from /var/univention-join/status -> 05_check_join_status fails (as expected) univention-run-join-scripts --run-scripts 96univention-samba4slavepdc -> early exit -> OK univention-run-join-scripts --run-scripts 98univention-samba4slavepdc-dns -> early exit -> OK 05_check_join_status passes -> OK [4.3-1 d43cc83b39] Bug #47234: yaml (fix line length) -> verified
<http://errata.software-univention.de/ucs/4.3/124.html>