Bug 45555 - schoolwizards/computers/query: ldapError: Insufficient access
schoolwizards/computers/query: ldapError: Insufficient access
Status: CLOSED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: UMC - Wizards
UCS@school 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-17 16:18 CEST by Florian Best
Modified: 2023-06-12 15:39 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 1: Cosmetic issue or missing function but workaround exists
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.011
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017101621000336
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 Florian Best univentionstaff 2017-10-17 16:18:22 CEST
Version: 4.2-2 errata189 (Lesum) - UCS@school 4.2 v3

Die Ausführung des Kommandos schoolwizards/computers/query schoolwizards/computers ist fehlgeschlagen:


Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/base.py", line 249, in execute
    function.__func__(self, request, *args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/decorators.py", line 192, in _response
    return function(self, request)
  File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 122, in _decorated
    ret = func(self, request, *a, **kw)
  File "%PY2.7%/ucsschool/lib/schoolldap.py", line 145, in wrapper_func
    return func(*args, **kwargs)
  File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 329, in get_computers
    return self._get_all(computer_class, school, request.options.get('filter'), ldap_user_read)
  File "%PY2.7%/univention/management/console/modules/schoolwizards/__init__.py", line 266, in _get_all
    schools = School.from_binddn(lo)
  File "%PY2.7%/ucsschool/lib/models/school.py", line 403, in from_binddn
    user_schools = lo.search(base=lo.binddn, scope='base', attr=['ucsschoolSchool'])[0][1].get('ucsschoolSchool', [])
  File "%PY2.7%/univention/admin/uldap.py", line 437, in search
    raise univention.admin.uexceptions.ldapError(_err2str(msg), original_exception=msg)
ldapError: Insufficient access
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2017-12-13 09:58:23 CET
Are there any additional information available?
Has the module been assigned to unprivileged users? 
There is currently no known problem with the default configuration.
Comment 2 Michel Smidt 2020-07-14 11:20:43 CEST
This issue has been filed against UCS@school 4.2.

UCS@school 4.2 is out of maintenance and many UCS@school components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS@school versions, please reopen it and update the UCS@school version. In this case please provide detailed information on how this issue is affecting you.