Univention Bugzilla – Full Text Bug Listing |
Summary: | Bad search filter: Improve traceback | ||
---|---|---|---|
Product: | UCS | Reporter: | Dirk Wiesenthal <wiesenthal> |
Component: | UMC - Domain management (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED DUPLICATE | QA Contact: | Dirk Wiesenthal <wiesenthal> |
Severity: | normal | ||
Priority: | P5 | CC: | best, gohmann, klaeser, walkenhorst |
Version: | UCS 3.2 | ||
Target Milestone: | UCS 4.0-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: |
https://forge.univention.org/bugzilla/show_bug.cgi?id=32979 https://forge.univention.org/bugzilla/show_bug.cgi?id=28383 https://forge.univention.org/bugzilla/show_bug.cgi?id=35953 |
||
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: | Bug group (optional): | Error handling, Troubleshooting, Usability | |
Max CVSS v3 score: |
Description
Dirk Wiesenthal
2014-01-14 23:06:28 CET
If that could be solved deeper in LDAP itself (propagated as "info" attribute), it would be written accordingly in the final error message. Here a provoked error via UDM in python:
> Traceback (most recent call last):
> File "udm.py", line 10, in <module>
> result = udm_modules.lookup('users/user', None, lo, base=c['ldap/base'], scope='sub', filter='(uid=foo')
> File "/usr/lib/pymodules/python2.6/univention/admin/modules.py", line 801, in lookup
> tmpres=module.lookup(co, lo, filter, base=base, superordinate=superordinate, scope=scope, unique=unique, required=required, timeout=timeout, sizelimit=sizelimit)
> File "/usr/lib/pymodules/python2.6/univention/admin/handlers/users/user.py", line 2702, in lookup
> for dn, attrs in lo.search(unicode(filter), base, scope, [], unique, required, timeout, sizelimit):
> File "/usr/lib/pymodules/python2.6/univention/admin/uldap.py", line 356, in search
> raise univention.admin.uexceptions.ldapError, _err2str(msg)
> univention.admin.uexceptions.ldapError: Bad search filter
reported again (twice) Remark: Using UCS 3.2 RC 1 fresh install. System has been updated to the latest, correct credentials used in LDB. Simply opening the OX mail settings will produce this error. (In reply to Florian Best from comment #3) > Remark: > Using UCS 3.2 RC 1 fresh install. System has been updated to the latest, > correct > credentials used in LDB. Simply opening the OX mail settings will produce > this error. Sorry, quote from wrong ticket. reported again. again reported again One was fixed in Bug #35953 The approach from comment #1 has been implemented in Bug #30088. Bug #32979 also improved error handling. The underlying bug that this error can happen is Bug #28383. *** This bug has been marked as a duplicate of bug 30088 *** OK, should not be a problem anymore. |