Created attachment 11220 [details] Traceback # UCS: 5.0-8 errata1060 # /usr/share/univention-directory-manager-tools/udm-remap-country-from-st-to-c was executed via the UMC during a system diagnosis # Problem: When a user tries to change the country via the self-service a traceback appears in /var/log/univention/management-console-module-passwordreset.log (see attachment). # Investigation I noticed that the ucr variable 'self-service/ldap_attributes' was not modified by the udm-remap-country-from-st-to-c script. After manually adjusting the variable the user was able to change the country via the self-service: ucr set self-service/ldap_attributes='jpegPhoto,mail,telephoneNumber,roomNumber,departmentNumber,st,homePhone,mobile,homePostalAddress,c'
As many systems have already upgraded to UCS 5.2 we have to fix this via an erratum. The UCR variable default has been changed to include "c" and already set variables are updates to include "c" as well if they include "st". univention-self-service.yaml e74d8ceb24f4 | fix(self-service): add "c" to allowed list of LDAP attributes to be changed in default profile view univention-self-service (7.1.0) e74d8ceb24f4 | fix(self-service): add "c" to allowed list of LDAP attributes to be changed in default profile view There is another bug (Bug #57398) blocking this for certain users.
errata yaml ok reproduced ok fixed ok debian package ok code-review ok
<https://errata.software-univention.de/#/?erratum=5.2x71>