Bug 41779 - broken code in UniventionLDAPExtension:unregister()
broken code in UniventionLDAPExtension:unregister()
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: univention-lib
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
: 45609 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-12 12:43 CEST by Florian Best
Modified: 2019-01-03 07:22 CET (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): Cleanup
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 2016-07-12 12:43:20 CEST
UniventionLDAPExtension:unregister() in base/univention-lib/python/ldap_extension.py contains the following broken code:

cmd = ["univention-ldapsearch", "-xLLL", "(&(objectClass=univentionApp)%s)", "cn" % (app_filter,)]

The code is broken since beginning svn r44086.
The whole LDAP filter escaping is broken, too.
Comment 1 Florian Best univentionstaff 2017-11-01 15:45:17 CET
We could fix bug #34535 instead.
Comment 2 Florian Best univentionstaff 2017-11-01 15:45:26 CET
*** Bug 45609 has been marked as a duplicate of this bug. ***
Comment 3 Stefan Gohmann univentionstaff 2019-01-03 07:22:57 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.