Bug 54101 - schoolwizards/users/add: The mail address' domain does not match any mail domain object.
schoolwizards/users/add: The mail address' domain does not match any mail dom...
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: UMC - Wizards
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-11-19 12:36 CET by Maximilian Janßen
Modified: 2021-11-19 12:36 CET (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very 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.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2021102521000365
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 2021-11-19 12:36:06 CET
Version: 4.4-8 errata1072 (Blumenthal) - UCS@school 4.4 v9

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

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 359, in __error_handling
    six.reraise(etype, exc, etraceback)
  File "%PY2.7%/univention/management/console/base.py", line 262, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 249, in _decorated
    ret = func(self, request, *a, **kw)
  File "%PY2.7%/ucsschool/lib/school_umc_ldap_connection.py", line 145, in wrapper_func
    return func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 388, in _create_obj
    if obj.create(ldap_user_write, validate=False):
  File "%PY2.7%/ucsschool/lib/models/base.py", line 608, in create
    success = self.create_without_hooks(lo, validate)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 638, in create_without_hooks
    self.do_create(udm_obj, lo)
  File "%PY2.7%/ucsschool/lib/models/user.py", line 289, in do_create
    success = super(User, self).do_create(udm_obj, lo)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 662, in do_create
    udm_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 1250, in _create
    self.call_udm_property_hook('hook_ldap_pre_create', self)
  File "%PY2.7%/univention/admin/handlers/__init__.py", line 1071, in call_udm_property_hook
    func(module)
  File "%PY2.7%/univention/admin/hooks.d/oxAccess.py", line 176, in hook_ldap_pre_create
    self.check_mailaddr(module)
  File "%PY2.7%/univention/admin/hooks.d/oxAccess.py", line 85, in check_mailaddr
    raise univention.admin.uexceptions.valueError(oxAccess._("The mail address' domain does not match any mail domain object."))
TypeError: unbound method <lambda>() must be called with oxAccess instance as first argument (got str instance instead)

Role: domaincontroller_master