Bug 57171 - mail uniqueness: update of mailaddresses in one command/call
mail uniqueness: update of mailaddresses in one command/call
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
: 57170 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2024-03-22 09:51 CET by Tim Breidenbach
Modified: 2024-04-26 12:58 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a few 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.091
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Breidenbach univentionstaff 2024-03-22 09:51:34 CET
UCS 5.0-7:


ucr set directory/manager/mail-address/uniqueness=true


With this setting it s not longer possible to do the following in one command:

pre-condition: userA has mailPrimaryAddress alt@ucs.test

udm users/user modify --dn "uid=usera,cn=users,$ldap_base" --set mailPrimaryAddress="neu@test.ucs" --set mailAlternativeAddress="alt@test.ucs"



You have to do 2 commands:
1. change the mailPrimaryAddress to the new value
2. Set the mailAlternativeAddress to the old value


This blocks the provisioning via REST from an external IAM.
Comment 1 Erik Damrose univentionstaff 2024-03-22 10:26:24 CET
*** Bug 57170 has been marked as a duplicate of this bug. ***