Bug 51375 - Check for uldap.search(…, attr=['dn']) → uldap.searchDn(…)
Check for uldap.search(…, attr=['dn']) → uldap.searchDn(…)
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: ucslint
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 4.4-4-errata
Assigned To: Philipp Hahn
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-05-30 18:13 CEST by Philipp Hahn
Modified: 2020-06-24 12:53 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2020-05-30 18:13:47 CEST
"dn" is not a LDAP attribute name.

Similar for `ldapseatch … dn`.
Comment 1 Philipp Hahn univentionstaff 2020-06-23 10:47:20 CEST
[4.4-4] 3012809d97 Bug #51375 ucslint: Check for uldap.searchDn()
 doc/errata/staging/ucslint.yaml                    |  5 ++--
 packaging/ucslint/debian/changelog                 |  6 +++++
 packaging/ucslint/testframework/0009-11.correct    |  1 +
 .../ucslint/testframework/0009-11/debian/changelog |  5 ++++
 .../ucslint/testframework/0009-11/debian/compat    |  1 +
 .../ucslint/testframework/0009-11/debian/control   | 12 +++++++++
 .../ucslint/testframework/0009-11/debian/copyright | 29 ++++++++++++++++++++++
 .../ucslint/testframework/0009-11/debian/rules     |  3 +++
 packaging/ucslint/testframework/0009-11/test.py    |  7 ++++++
 .../ucslint/univention/ucslint/0009-Python.py      | 15 +++++++++++
 10 files changed, 82 insertions(+), 2 deletions(-)

Package: ucslint
Version: 8.0.0-17A~4.4.0.202006231043
Branch: ucs_4.4-0
Scope: errata4.4-4

[4.4-4] c74496ab2c Bug #49704: ucslint 8.0.0-17A~4.4.0.202006231043
 doc/errata/staging/ucslint.yaml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 2 Florian Best univentionstaff 2020-06-23 18:04:21 CEST
OK: fix (base/univention-quota prooves it)
S:0009-11: quota.py:173:20: Use uldap.searchDN() instead of uldap.search(attr=["dn"])
OK: YAML
Comment 3 Erik Damrose univentionstaff 2020-06-24 12:53:14 CEST
<http://errata.software-univention.de/ucs/4.4/630.html>