Univention Bugzilla – Full Text Bug Listing |
Summary: | UMC - make automatic substring search in UDM module configurable | ||
---|---|---|---|
Product: | UCS | Reporter: | Daniel Orrego <orrego> |
Component: | UMC (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Alexander Kläser <klaeser> |
Severity: | normal | ||
Priority: | P5 | CC: | best, gohmann, jmm, klaeser, orrego, petersen, steuwer, wiesenthal |
Version: | UCS 3.3 | Flags: | best:
Patch_Available+
|
Target Milestone: | UCS 3.2-8-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 2: Improvement: Would be a product improvement |
Who will be affected by this bug?: | 2: Will only affect a 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.046 | Enterprise Customer affected?: | Yes |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | External feedback, Large environments, Usability | |
Max CVSS v3 score: | |||
Bug Depends on: | 37904 | ||
Bug Blocks: | 42387, 42388 | ||
Attachments: | patch |
Description
Daniel Orrego
2016-08-30 13:39:00 CEST
I modified the summary. The idea is to make the behaviour of the UDM module in UMC configurable. In large environments any search runs into an timeout if the substring search is done but the LDAP indices are optimized for EQ searches. Created attachment 7999 [details]
patch
@Daniel: Can you please test this patch. With this you can configure that UMC makes automatically substring searches by pre+appending '*' to the search value. > ucr set umc/auto_substring_search=false To completely disallow '*' in the search: > ucr set umc/allow_substring_search=false We need to find better names for the UCR variables. Probably replace "umc" with "directory/manager/web/". (In reply to Florian Best from comment #3) > @Daniel: > Can you please test this patch. With this you can configure that UMC makes > automatically substring searches by pre+appending '*' to the search value. > > ucr set umc/auto_substring_search=false > > To completely disallow '*' in the search: > > ucr set umc/allow_substring_search=false > > We need to find better names for the UCR variables. Probably replace "umc" > with "directory/manager/web/". FYI. I tested the patch and it works. Thank you Florian. univention-management-console-module-udm (4.0.99-11): r72569 | Bug #42181: make wildcard and substring search configurable univention-management-console-module-udm.yaml: r72570 | YAML Bug #42181 Bug #42379 [directory/manager/web/allow_wildcard_search] Definiert, ob Wildcards (*) in der Suche ausgewertet werden. Defines whether wildcards (*) are evaluated when searching. [directory/manager/web/auto_substring_search] Definiert, ob automatisch nach Teilstrings gesucht wird. Defines if it is searched automatically for substrings. It is not possible to have directory/manager/web/allow_wildcard_search=false and directory/manager/web/auto_substring_search=true. Otherwise I need to patch sanitizers.py, too. REOPEN if wished. Changes: OK YAML file entry: OK → VERIFIED |