Univention Bugzilla – Bug 40424
62ucs-school-slave.inst crestarts samba before renaming sam.ldb
Last modified: 2016-10-04 13:24:47 CEST
62ucs-school-slave.inst restarts samba (Bug 26799 and Bug 40390) and after that it moves existing sam.ldb and secrets.ldb out of the way (Bug 33398). Probably it would be a good idea to move the files before doing the crestart. +++ This bug was initially created as a clone of Bug #40390 +++
> Probably it would be a good idea to move the files before doing the crestart. This is obviously not an improvement, because then samba will fail to start. The general question is: Do we still need to remove the sam.ldb+secrets.ldb or isn't that covered in 96univention-samba4.inst (Bug #32246)? * The sam.ldb remove code block in 62ucs-school-slave.inst was introduced via Bug 33398 at 2013-12-03 * The cleanup_var_lib_samba function in 96univention-samba4.inst is getting called during re-provision since Bug 32246, fixed 2014-06-05 So my impression is, that the code block in 62ucs-school-slave.inst is obsolete. But fixing this needs thorough testing.
------------------------------------------------------------------------ r71684 | arequate | 2016-08-17 15:40:59 +0200 (Mi, 17. Aug 2016) | 2 Zeilen * Bug #40424: The sam.ldb and secrets.ldb are not removed any longer while running the ucs-school-slave joinscripts. ------------------------------------------------------------------------ Advisory: ucs-school-metapackage.yaml
OK - 96univention-samba4.inst always cleans the samba private during join OK - YAML
UCS@school 4.1 R2 v5 has been released. http://docs.software-univention.de/changelog-ucsschool-4.1R2v5-de.html If this error occurs again, please clone this bug.