Bug 57397 - udm-remap-country-from-st-to-c does NOT put 'c' to 'self-service/ldap_attributes'
udm-remap-country-from-st-to-c does NOT put 'c' to 'self-service/ldap_attribu...
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2024-06-21 11:21 CEST by Finn David
Modified: 2024-06-21 11:21 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.103
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2024061921000192
Bug group (optional):
Max CVSS v3 score:


Attachments
Traceback (3.49 KB, text/x-log)
2024-06-21 11:21 CEST, Finn David
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Finn David univentionstaff 2024-06-21 11:21:40 CEST
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'