Unable to delete Users in 4.4.8

Hi,
i am unable to delete Users from my LDAP in UCS.
I tried to delete them via the Web-GUI and with Apache Directory Studio.
What happens is that after a few seconds the deleted Users just appear again in the LDAP.
From the connect-S4.log:

01.10.2021 12:11:37.733 LDAP (WARNING): sync failed, saved as rejected
/var/lib/univention-connector/s4/1633078308.886251
01.10.2021 12:11:37.733 LDAP (WARNING): Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/univention/s4connector/init.py”, line 891, in __sync_file_from_ucs
if ((old_dn and not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, unicode(old_dn, ‘utf8’), old, new)) or (not old_dn and not self.sync_from_ucs(key, mapped_object, pre_mapped_ucs_dn, old_dn, old, new))):
File “/usr/lib/python2.7/dist-packages/univention/s4connector/s4/init.py”, line 2640, in sync_from_ucs
self.delete_in_s4(object, property_type)
File “/usr/lib/python2.7/dist-packages/univention/s4connector/s4/init.py”, line 2672, in delete_in_s4
self.lo_s4.lo.delete_s(compatible_modstring(object[‘dn’]))
File “/usr/lib/python2.7/dist-packages/ldap/ldapobject.py”, line 333, in delete_s
return self.delete_ext_s(dn,None,None)
File “/usr/lib/python2.7/dist-packages/ldap/ldapobject.py”, line 326, in delete_ext_s
resp_type, resp_data, resp_msgid, resp_ctrls = self.result3(msgid,all=1,timeout=self.timeout)
File “/usr/lib/python2.7/dist-packages/ldap/ldapobject.py”, line 514, in result3
resp_ctrl_classes=resp_ctrl_classes
File “/usr/lib/python2.7/dist-packages/ldap/ldapobject.py”, line 521, in result4
ldap_result = self._ldap_call(self._l.result4,msgid,all,timeout,add_ctrls,add_intermediates,add_extop)
File “/usr/lib/python2.7/dist-packages/ldap/ldapobject.py”, line 106, in _ldap_call
result = func(*args,**kwargs)
OTHER: {‘info’: ‘error in module samldb: Other during LDB_DELETE (80)’, ‘desc’: ‘Other (e.g., implementation specific) error’}

01.10.2021 12:12:02.851 LDAP (PROCESS): sync from ucs: [ user] [ delete] cn=uysharma,cn=users,DC=ancud,DC=de
01.10.2021 12:12:03.923 LDAP (PROCESS): sync from ucs: [ group] [ modify] cn=domain users,cn=groups,DC=ancud,DC=de
01.10.2021 12:12:05.042 LDAP (PROCESS): sync from ucs: [ user] [ delete] cn=tttest,cn=users,DC=ancud,DC=de
01.10.2021 12:12:05.752 LDAP (PROCESS): sync from ucs: [ group] [ modify] cn=domain users,cn=groups,DC=ancud,DC=de
01.10.2021 12:12:05.872 LDAP (PROCESS): sync from ucs: [ user] [ delete] cn=ttuser,cn=users,DC=ancud,DC=de
01.10.2021 12:12:06.424 LDAP (PROCESS): sync from ucs: [ user] [ delete] cn=vaangelis,cn=users,DC=ancud,DC=de
01.10.2021 12:12:07.938 LDAP (PROCESS): object_from_element: DN of removed object: u’cn=uysharma,CN=Users,DC=ancud,DC=de’
01.10.2021 12:12:07.940 LDAP (PROCESS): sync to ucs: [ user] [ delete] u’uid=uysharma,cn=users,dc=ancud,dc=de’
01.10.2021 12:12:07.940 LDAP (WARNING): Object to delete doesn’t exists, ignore (u’uid=uysharma,cn=users,dc=ancud,dc=de’)
01.10.2021 12:12:08.774 LDAP (PROCESS): object_from_element: DN of removed object: u’cn=tttest,CN=Users,DC=ancud,DC=de’
01.10.2021 12:12:08.776 LDAP (PROCESS): sync to ucs: [ user] [ delete] u’uid=tttest,cn=users,dc=ancud,dc=de’
01.10.2021 12:12:08.777 LDAP (WARNING): Object to delete doesn’t exists, ignore (u’uid=tttest,cn=users,dc=ancud,dc=de’)
01.10.2021 12:12:09.440 LDAP (PROCESS): object_from_element: DN of removed object: u’cn=ttuser,CN=Users,DC=ancud,DC=de’
01.10.2021 12:12:09.445 LDAP (PROCESS): sync to ucs: [ user] [ delete] u’uid=ttuser,cn=users,dc=ancud,dc=de’
01.10.2021 12:12:09.445 LDAP (WARNING): Object to delete doesn’t exists, ignore (u’uid=ttuser,cn=users,dc=ancud,dc=de’)
01.10.2021 12:12:10.632 LDAP (PROCESS): object_from_element: DN of removed object: u’cn=vaangelis,CN=Users,DC=ancud,DC=de’
01.10.2021 12:12:10.635 LDAP (PROCESS): sync to ucs: [ user] [ delete] u’uid=vaangelis,cn=users,dc=ancud,dc=

is anyone able to help?

Hi,

users of UCS are not managed via LDAP, instead the Univention Directory Manager (UDM) is the only tool to delete users appropriately. As you seem to be using the S4-Connector, the error suggests that users are not deleted in Samba which would be triggered via UDM.

Best regards

Hi,
deleting Users via UDM is what i tried first! But after a reboot all Users are restored again.