Univention Bugzilla – Bug 44885
Regression: Re-joining UCS@school Slave PDCs skips fix for Bug 33881
Last modified: 2017-11-09 16:56:50 CET
Created attachment 8983 [details]
Code review suggests that the fix for Bug #39251 causes a regression for UCS@school Samba/AD Slave PDCs:
Since that fix, rejoining a UCS@school Samba/AD Slave PDC does not enter the samba4/provision/secondary branch of the univention-samba4 joinscript any longer, where some special steps are performed, like the fix for Bug #33881 and other things. Instead the samba4/provision/primary branch is run during re-join of all systems running an S4-Connector.
The attached patch may be suitable to fix this regression.
as discussed, reorganized the samba4 join script
IF samba4/provision/primary is true
OR not connectors
OR "i am the connector"
THEN samba provisioning
within this block if samba4/provision/secondary is true
(set in school slave meta packages) we use some special
options for ucs@school
my tests, see Bug #45596