+++ This bug was initially created as a clone of Bug #58828 +++ Clone for 5.0 udm doesn't release mailPrimaryAddress lock if address is already taken How to reproduce: ``` udm users/user create --set username=mail1 --set lastname=mail1 --set password=univention --set mailPrimaryAddress=mail@foo.test udm settings/lock list --filter name=mail@foo.test # Not locked udm users/user create --set username=mail2 --set lastname=mail2 --set password=univention --set mailPrimaryAddress=mail@foo.test # Error udm settings/lock list --filter name=mail@foo.test # Locked! ``` Changing the mailPrimaryAddress on the first user doesn't release the lock. That means that no other user can use the address until the lock has been removed manually. (Deleting the user while they still have "mail@foo.test" set, seems to clean, the lock, up)
OK - tests OK - univention-directory-manager-modules OK - advisory
<https://errata.software-univention.de/#/?erratum=5.0x1354>