Bug 45532 - schoolwizards/schools/query: ldapError: Insufficient access
schoolwizards/schools/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-13 12:25 CEST by Florian Best
Modified: 2023-06-12 15:39 CEST (History)
3 users (show)

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: 2017092121000589
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-13 12:25:15 CEST
Version: 4.2-1 errata165 (Lesum) - UCS@school 4.2 v2

Die Ausführung des Kommandos schoolwizards/schools/query schoolwizards/schools 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/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 349, in get_schools
    schools = School.get_all(ldap_user_read, filter_str=request.options.get('filter'), easy_filter=True)
  File "%PY2.7%/ucsschool/lib/models/school.py", line 436, in get_all
    schools = super(School, cls).get_all(lo, school=None, filter_str=filter_str, easy_filter=easy_filter)
  File "%PY2.7%/ucsschool/lib/models/base.py", line 739, in get_all
    for udm_obj in cls.lookup(lo, school, complete_filter, superordinate=superordinate):
  File "%PY2.7%/ucsschool/lib/models/base.py", line 750, in lookup
    return udm_modules.lookup(cls._meta.udm_module, None, lo, filter=filter_s, base=cls.get_container(school), scope='sub', superordinate=superordinate)
  File "%PY2.7%/univention/admin/modules.py", line 731, in lookup
    tmpres = module.lookup(co, lo, filter, base=base, superordinate=superordinate, scope=scope, unique=unique, required=required, timeout=timeout, sizelimit=sizelimit)
  File "%PY2.7%/univention/admin/handlers/container/ou.py", line 329, in lookup
    for dn, attrs in lo.search(unicode(filter), base, scope, [], unique, required, timeout, sizelimit):
  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 Michel Smidt 2020-07-14 11:18:35 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.