Univention Bugzilla – Bug 54487
[4.4] memberUid is missing after updating group users with the same uid
Last modified: 2022-03-09 13:25:16 CET
The customer who had this problem needs this fixed for UCS 4.4 +++ This bug was initially created as a clone of Bug #54297 +++ The customer has the Cool Solution user-group-sync at work which synchronizes two domains via serializing users & groups from the source system and modifying them via UDM at the destination system. If a user is moved his uid remains the same, but the DN changes. While updating its groups, the uniqueMember is updated, but the memberUid value is missing afterwards. The same can be achieved by changing the DN of a user currently in a group: $ udm groups/group create --position cn=groups,dc=test,dc=de --set name=testgroup --set users=uid=testuser,cn=users,dc=test,dc=de Object created: cn=testgroup,cn=groups,dc=test,dc=de $ univention-ldapsearch -LLL cn=testgroup uniqueMember memberUid dn: cn=testgroup,cn=groups,dc=test,dc=de memberUid: testuser uniqueMember: uid=testuser,cn=users,dc=local,dc=test,dc=de $ udm groups/group modify --dn cn=testgroup,cn=groups,dc=test,dc=de --set users=uid=testuser,cn=Employees,cn=users,dc=test,dc=de $ univention-ldapsearch -LLL cn=testgroup uniqueMember memberUid dn: cn=testgroup,cn=groups,dc=test,dc=de uniqueMember: uid=testuser,cn=Employees,cn=users,dc=local,dc=test,dc=de Therefore the memberUid should remain untouched instead of being removed.
65383766b1 | memberUid attribute missing when update uniquemember on LDAP group d6061e6e4a | ucs test validation for uniquemember modification attribute 7b0091c13f | Advisory update ucs-test was adjusted too, so we should announce that too.
Tests successful: OK Manual test: OK Packages built: OK Yaml: OK Verified
<https://errata.software-univention.de/#/?erratum=4.4x1191>