Bug 49751 - AD-Takeover Traceback: uidAlreadyUsed: Администратор
AD-Takeover Traceback: uidAlreadyUsed: Администратор
Status: NEW
Product: UCS
Classification: Unclassified
Component: AD Takeover
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-06-28 14:07 CEST by Nico Gulden
Modified: 2021-01-12 15:21 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.114
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019032921000616, 2020100521000314, 2020101321000406
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Gulden univentionstaff 2019-06-28 14:07:29 CEST
UCS Version: 4.4-0 errata29 (Blumenthal)

Traceback (most recent call last):
uidAlreadyUsed: Администратор
    raise univention.admin.uexceptions.uidAlreadyUsed(self['username'])
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/users/user.py", line 1893, in _ldap_pre_ready
    self._ldap_pre_ready()
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 632, in modify
    return super(object, self).modify(*args, **kwargs)
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/users/user.py", line 1674, in modify
    user.modify()
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/adtakeover/takeover.py", line 2248, in udm_rename_ucs_user
    new_userdn = self.udm_rename_ucs_user(userdn, ad_object_name)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/adtakeover/takeover.py", line 2270, in rename_ucs_user
    userRenameHandler.rename_ucs_user(ucsldap_object_name, ad_object_name)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/adtakeover/takeover.py", line 1250, in rewrite_sambaSIDs_in_OpenLDAP
    takeover.rewrite_sambaSIDs_in_OpenLDAP()
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/adtakeover/takeover.py", line 307, in join_to_domain_and_copy_domain_data
    takeover.join_to_domain_and_copy_domain_data(ip, username, password, self.progress)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/adtakeover/__init__.py", line 110, in copy_domain_data
    result = func(self, request)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/adtakeover/__init__.py", line 61, in _background
Comment 1 Florian Best univentionstaff 2019-06-28 14:15:53 CEST
Администратор means Administrator :-)
Comment 2 Arvid Requate univentionstaff 2019-06-28 14:21:19 CEST
Yes, the info of the Feedback-Ticket should be transfered properly when opening these Bugs. There is barely enough info in these Tickets. According to the traceback this happens when rewrite_sambaSIDs_in_OpenLDAP tries to rewrite the "Well Known Sids". We'll have to check the code to find out if this Feedback-report is enough to understand and fix the issue.
Comment 3 Christian Castens univentionstaff 2020-10-23 12:57:27 CEST
reported again
Version: 4.4-6 errata758 (Blumenthal)
Error:
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 312, in join_to_domain_and_copy_domain_data
    takeover.rewrite_sambaSIDs_in_OpenLDAP()
  File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 1258, 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
    self.udm_rename_ucs_user(userdn, ad_object_name)
  File "%PY2.7%/univention/management/console/modules/adtakeover/takeover.py", line 2257, in udm_rename_ucs_user
    return user.modify()
  File "%PY2.7%/univention/admin/handlers/users/user.py", line 1405, in modify
    return super(object, self).modify(*args, **kwargs)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 647, in modify
    self._ldap_pre_ready()
  File "%PY2.7%/univention/admin/handlers/users/user.py", line 1611, in _ldap_pre_ready
    raise univention.admin.uexceptions.uidAlreadyUsed(self['username'])
uidAlreadyUsed: domadmin

Role: domaincontroller_master