Bug 54379 - schoolwizards/schools/add: KeyError: "getgrnam(): name not found: 'Domain Users'"
schoolwizards/schools/add: KeyError: "getgrnam(): name not found: 'Domain Use...
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Wizards
UCS@school 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-01-26 11:30 CET by Maximilian Janßen
Modified: 2022-01-26 11:30 CET (History)
0 users

See Also:
What kind of report is it?: Bug Report
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: 2022012121000431
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 Maximilian Janßen univentionstaff 2022-01-26 11:30:09 CET
Version: 5.0-1 errata192 - UCS@school 5.0 v1

Error: 
Interner Server-Fehler in "schoolwizards/schools/add (schoolwizards/schools)".
Request: schoolwizards/schools/add (schoolwizards/schools)

Traceback (most recent call last):
  File "%PY3%/univention/management/console/base.py", line 344, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY3%/six.py", line 693, in reraise
    raise value
  File "%PY3%/univention/management/console/base.py", line 247, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY3%/univention/management/console/modules/schoolwizards/__init__.py", line 241, in _decorated
    ret = func(self, request, *a, **kw)
  File "%PY3%/ucsschool/lib/school_umc_ldap_connection.py", line 154, in wrapper_func
    return func(*args, **kwargs)
  File "%PY3%/univention/management/console/modules/schoolwizards/__init__.py", line 379, in _create_obj
    if obj.create(ldap_user_write, validate=False):
  File "%PY3%/ucsschool/lib/models/base.py", line 621, in create
    success = self.create_without_hooks(lo, validate)
  File "%PY3%/ucsschool/lib/models/school.py", line 636, in create_without_hooks
    self.create_market_place_share(lo)
  File "%PY3%/ucsschool/lib/models/school.py", line 835, in create_market_place_share
    success = obj.create(lo)
  File "%PY3%/ucsschool/lib/models/base.py", line 621, in create
    success = self.create_without_hooks(lo, validate)
  File "%PY3%/ucsschool/lib/models/base.py", line 651, in create_without_hooks
    self.do_create(udm_obj, lo)
  File "%PY3%/ucsschool/lib/models/share.py", line 410, in do_create
    return super(MarketplaceShare, self).do_create(udm_obj, lo)
  File "%PY3%/ucsschool/lib/models/share.py", line 204, in do_create
    udm_obj["group"] = self.get_gid_number(lo)
  File "%PY3%/ucsschool/lib/models/share.py", line 391, in get_gid_number
    group_entry = grp.getgrnam(group_name)
KeyError: "getgrnam(): name not found: 'Domain Users'"

Role: domaincontroller_master