Bug 53692 - udm/add: IndexError: list index out of range
udm/add: IndexError: list index out of range
Status: NEW
Product: UCS
Classification: Unclassified
Component: UMC - Users
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-08-20 14:55 CEST by Christian Castens
Modified: 2021-08-20 14:55 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2021072621000388
Bug group (optional): Error handling, 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 Christian Castens univentionstaff 2021-08-20 14:55:00 CEST
Version: 4.4-8 errata995 (Blumenthal)

Error:
Interner Server-Fehler in "udm/add (navigation)".
Request: udm/add (navigation)

  File "%PY2.7%/notifier/threads.py", line 80, in _run
    result = self._function()
  File "%PY2.7%/notifier/__init__.py", line 104, in __call__
    return self._function(*tmp, **self._kwargs)
  File "%PY2.7%/univention/management/console/modules/udm/__init__.py", line 402, in _thread
    dn = module.create(properties, container=options.get('container'), superordinate=options.get('superordinate'))
  File "%PY2.7%/univention/management/console/modules/udm/udm_ldap.py", line 566, in create
    obj.create()
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 557, in create
    dn = self._create(response=response, serverctrls=serverctrls)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 1241, in _create
    al.extend(self._ldap_modlist())
  File "%PY2.7%/univention/admin/handlers/users/user.py", line 1715, in _ldap_modlist
    ml = self._modlist_samba_sid(ml)
  File "%PY2.7%/univention/admin/handlers/users/user.py", line 2069, in _modlist_samba_sid
    sid = self.__generate_user_sid(self['uidNumber'])
  File "%PY2.7%/univention/admin/handlers/users/user.py", line 2252, in __generate_user_sid
    userSid = univention.admin.allocators.requestUserSid(self.lo, self.position, num)
  File "%PY2.7%/univention/admin/allocators.py", line 76, in requestUserSid
    domainsid = searchResult[0][1]['sambaSID'][0]
IndexError: list index out of range

Role: domaincontroller_master