Univention Bugzilla – Bug 33752
rename_class does not rename sambaName of class share
Last modified: 2014-02-07 13:51:31 CET
The import script rename_class renames the class share objects itself but not the name of the samba share (if defined). If defined, the rename_class seems to have no effect → the files still appear in samba share with old name. I think the rename_class script should also rename the samba name of the share if the samba name is equal to the share object name (mostly default). If this is not the case, the customer has to fix it (semi-)manually, e.g. via a group-post-modify hook, that also alters the corresponding share object.
The sambaName/univentionShareSambaName is now set by default which leads to a broken rename_class functionality.
ucs-school-import (10.0.4-4) unstable; urgency=low * rename_class: change sambaName too (Bug #33752) sambaName is now changed too, if the name is equal to the class name.
The classes shares are created with object["sambaForceGroup"] = "+%s"%classNr which is currently not changed by rename_class. → REOPEN
(In reply to Sönke Schwardt-Krummrich from comment #3) > The classes shares are created with > object["sambaForceGroup"] = "+%s"%classNr > which is currently not changed by rename_class. > → REOPEN ucs-school-import (10.0.4-5) unstable; urgency=low * rename_class: change sambaName and sambaForceGroup too (Bug #33752)
OK: code change OK: functional check ADDED: changelog entry
UCS@school 3.2v2 has been released: http://docs.univention.de/release-notes-ucsschool-3.2v2-de.pdf If this error occurs again, please use "Clone This Bug".