Univention Bugzilla – Bug 39409
Automatic displayName update leads to tracebacks in UCS@school environments
Last modified: 2015-11-04 17:26:43 CET
Ticket 2015092421000514 describes a traceback in the S4 connector log, that is caused by the introduction of the automatic displayName update. The LDAP modlist is not correctly created by users/user.py so the S4 connector on school slaves fail to update the displayName during sync S4→UCS. +++ This bug was initially created as a clone of Bug #38385 +++
The old code contained the line ml.append(('displayName', self.oldinfo.get('displayName', [''])[0], new_displayName)) to replace the old value with a new displayName value. Unfortunately, self.oldinfo['displayName'] is always of type string, so the code tries to replace an invalid old_value: e.g. ('displayName', 'S', 'Service') This has now been fixed. univention-directory-manager-modules (10.0.31-17): r63999 | Bug #39409: fixed automatic update of displayName ucs-test (5.0.171-11): r64000 | Bug #39409: improved 28_displayName_update 2015-09-09-univention-directory-manager-modules.yaml: r64002 | Bug #39409: updated YAML r64001 | Bug #39409: updated YAML I was not able to reproduce the problem with the ucs-test script. Even after adding an additional test that only sets the lastname and leaves the firstname empty. Within the customer environment, the problem only occurred if only a lastname was specified at the user object.
Merged changes of bugs #38385, #39292 and #39409 to UCS 4.1-0 (yes, they were all missing :-() → r64019 | Bug #38385, #39292, #39409: automatic update of displayName → r64021 | Bug #39409: improved 28_displayName_update → r64020 | Bug #38385: added 28_displayName_update
Missing rebuild of univention-directory-manager-modules for UCs 4.1-0 has been catched up: package version is 11.0.2-1.1345.201510061159
OK: code OK: manual test OK: automatic test (ucs-test_5.0.172-2.1243.201510070957): # /usr/share/ucs-test/61_udm-users/28_displayName_update -f OK: YAML
<http://errata.software-univention.de/ucs/4.0/357.html>