Merge back to 4.2. +++ This bug was initially created as a clone of Bug #46970 +++ A customer imported some users a while ago, e.g.: dn: uid=mary.gomme,cn=schueler,cn=users,ou=999,dc=edu,dc=example,dc=org sn: Gommer givenName: Mary Fairfax For the second import run, a trailing whitespace was unintentionally added to the lastname, resulting in "Gommer " (OpenLDAP will save this in base64, then): dn: uid=mary.gomme,cn=schueler,cn=users,ou=999,dc=edu,dc=example,dc=org sn:: R29tbWVyIA== givenName: Mary Fairfax This is especially nasty if this hits the recordUID, because then a completely new user will be created and the old one will be deleted. IMHO ucs-school-user-import should trim leading and trailing whitespaces for all (most?) attributes. Maybe we could add this as a hook, so customers can deactivate it if needed?
[4.2] 971dc780 Bug #47092: strip leading/trailing whitespace from CSV input [4.2] 08c8e894 Bug #47092: add deepcopy operation support to all ucsschool.lib objects [4.2] f0752824 Bug #47092: use deepcopy in import [4.2] 83e5d7f0 Bug #46970: changelog [4.2] d3860bab Bug #47092: advisories ucs-school-lib (10.0.2-15) ucs-school-import (15.0.3-40) ucs-test-ucsschool (4.0.4-93)
whitespaces were trimmed upon import
UCS@school 4.2 v10 has been released. https://docs.software-univention.de/changelog-ucsschool-4.2v10-de.html If this error occurs again, please clone this bug.