Univention Bugzilla – Bug 48648
[4.3] Add ucsschoolRole to OU-specific groups
Last modified: 2023-06-12 15:39:51 CEST
Some groups created by UCS@school miss the objectClass ucsschoolGroup. E.g. for school OU "s1": univention-ldapsearch '(&(cn=*-s1)(objectClass=univentionGroup)(!(objectClass=ucsschoolGroup)))' | grep cn: cn: admins-s1 cn: schueler-s1 cn: lehrer-s1 cn: mitarbeiter-s1 I propose to add the objectClass ucsschoolGroup to these kinds of group objects.
I could not reproduce this on my system? Did that happen on a new installation? If yes, how did you create the school (UMC, CLI, Importer)?
I cannot reproduce it with the "create_ou" script or the "Schulen" UMC-wizard. What do you mean with the "Importer" - the "import_group" script, or another?
The OCs will only be set on the LDAP objects, when required. So they "appear" after running: # ucr set ucsschool/feature/roles=yes # /usr/share/ucs-school-import/scripts/migrate_ucsschool_roles --modify --all-objects
Backport of code from 4.4 required.
Backporting for the ucsschool_role feature is not consensus. To be discussed/prioritized later. @valentin: is there a ticket from the customer?
(In reply to Daniel Tröder from comment #6) > Backporting for the ucsschool_role feature is not consensus. > To be discussed/prioritized later. > > @valentin: is there a ticket from the customer? There is, but just indirectly. It'd have helped me with a listener module I wrote for that customer. Since I already worked around it now a backport is not really necessary.
No backport to 4.3, as not currently required.