Problem:AD-Connector - memberUid: no such value!

Problem

Group Membership could not be updated caused by mismatching upper/lower case in memberUid and you get the following log info in the connector-ad.log.

25.01.2024 10:08:23.660 LDAP        (PROCESS): sync to ucs:   [         group] [    modify] cn=zammad-admin,ou=security groups,ou=mybusiness,dc=ldi,dc=local
25.01.2024 10:08:23.685 LDAP        (ERROR  ): Unknown Exception during sync_to_ucs
25.01.2024 10:08:23.686 LDAP        (ERROR  ): Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/univention/admin/handlers/groups/group.py", line 428, in fast_member_remove return self.lo.modify(self.dn, ml, exceptions=True, ignore_license=ignore_license)
File "/usr/lib/python3/dist-packages/univention/admin/uldap.py", line 795, in modify return self.lo.modify(dn, changes, serverctrls=serverctrls, response=response, rename_callback=rename_callback)
File "/usr/lib/python3/dist-packages/univention/uldap.py", line 212, in _decorated return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/univention/uldap.py", line 765, in modify self.modify_ext_s(dn, ml, serverctrls=serverctrls, response=response)
File "/usr/lib/python3/dist-packages/univention/uldap.py", line 212, in _decorated return func(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/univention/uldap.py", line 824, in modify_ext_s rtype, rdata, rmsgid, resp_ctrls = self.lo.modify_ext_s(dn, ml, serverctrls=serverctrls)
File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 1253, in modify_ext_s return self._apply_method_s(SimpleLDAPObject.modify_ext_s,*args,**kwargs)
File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 1197, in _apply_method_s return func(self,*args,**kwargs)
File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 602, in modify_ext_s resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 749, in resp_ctrl_classes=
File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 756, in ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,
File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 329, in _ldap_call reraise(exc_type, exc_value, 
File "/usr/lib/python3/dist-packages/ldap/compat.py", line 44, in reraise, raise exc_value
File "/usr/lib/python3/dist-packages/ldap/ldapobject.py", line 313, in _ldap_call result =
func(*args,**ldap.NO_SUCH_ATTRIBUTE: {'desc': 'No such attribute', 'info': 'modify/delete: memberUid: no such value'}

Root Cause

Bug 54183

Environment (optional)

UCS: 5.0-3 errata803
Installed: adconnector=12.0

Solution

This failure is fixed with erratum 832
Update the system to the latest erratum.

univention-upgrade

Mastodon