Univention Bugzilla – Bug 43621
copy_domain_data: uidAlreadyUsed not handled
Last modified: 2019-03-20 09:02:01 CET
Version: 4.1-4 errata404 (Vahr) Traceback(7777e2f22e37ef35a3d60f3700350c9f): Die Ausführung des Kommandos 'copy_domain_data' ist fehlgeschlagen: Traceback (most recent call last): File "%PY2.7%/univention/management/console/modules/adtakeover/__init__.py", line 60, in _background result = func(self, request) File "%PY2.7%/univention/management/console/modules/adtakeover/__init__.py", line 107, in copy_domain_data takeover.join_to_domain_and_copy_domain_data(ip, username, password, self.progress) File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 290, in join_to_domain_and_copy_domain_data takeover.rewrite_sambaSIDs_in_OpenLDAP() File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 1231, in rewrite_sambaSIDs_in_OpenLDAP userRenameHandler.rename_ucs_user(ucsldap_object_name, ad_object_name) File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 2231, in rename_ucs_user new_userdn = self.udm_rename_ucs_user(userdn, ad_object_name) File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 2209, in udm_rename_ucs_user user.modify() File "%PY2.7%/univention/admin/handlers/users/user.py", line 1532, in modify return super(object, self).modify(*args, **kwargs) File "%PY2.7%/univention/admin/handlers/__init__.py", line 317, in modify return self._modify(modify_childs, ignore_license=ignore_license) File "%PY2.7%/univention/admin/handlers/__init__.py", line 794, in _modify self._ldap_pre_modify() File "%PY2.7%/univention/admin/handlers/users/user.py", line 1891, in _ldap_pre_modify raise univention.admin.uexceptions.uidAlreadyUsed(': %s' % username) uidAlreadyUsed: : Gast
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
Version: 4.4-0 errata5 (Blumenthal) Traceback(55199267c71f6b6a11d8c8ce70cf918e): Traceback (most recent call last): File "%PY2.7%/univention/management/console/modules/adtakeover/__init__.py", line 61, in _background result = func(self, request) File "%PY2.7%/univention/management/console/modules/adtakeover/__init__.py", line 110, in copy_domain_data takeover.join_to_domain_and_copy_domain_data(ip, username, password, self.progress) File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 308, in join_to_domain_and_copy_domain_data takeover.rewrite_sambaSIDs_in_OpenLDAP() File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 1251, in rewrite_sambaSIDs_in_OpenLDAP userRenameHandler.rename_ucs_user(ucsldap_object_name, ad_object_name) File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 2271, in rename_ucs_user new_userdn = self.udm_rename_ucs_user(userdn, ad_object_name) File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 2249, in udm_rename_ucs_user user.modify() File "%PY2.7%/univention/admin/handlers/users/user.py", line 1674, in modify return super(object, self).modify(*args, **kwargs) File "%PY2.7%/univention/admin/handlers/__init__.py", line 632, in modify self._ldap_pre_ready() File "%PY2.7%/univention/admin/handlers/users/user.py", line 1892, in _ldap_pre_ready raise univention.admin.uexceptions.uidAlreadyUsed(self['username']) uidAlreadyUsed: ***