Univention Bugzilla – Full Text Bug Listing |
Summary: | Search for UDM attributes with fixed values (displayed as combo box/check box) not possible | ||
---|---|---|---|
Product: | UCS | Reporter: | Felix Botner <botner> |
Component: | UMC - Domain management (Generic) | Assignee: | Johannes Keiser <keiser> |
Status: | CLOSED DUPLICATE | QA Contact: | Dirk Wiesenthal <wiesenthal> |
Severity: | minor | ||
Priority: | P5 | CC: | a.burkert, ahlers, best, ebersbach, gohmann, keiser, klaeser, petersen, requate, thomas.manninger, troeder |
Version: | UCS 4.2 | ||
Target Milestone: | UCS 4.3-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=40740 | ||
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?: | 5: Will affect all 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.171 | Enterprise Customer affected?: | Yes |
School Customer affected?: | ISV affected?: | Yes | |
Waiting Support: | Yes | Flags outvoted (downgraded) after PO Review: | |
Ticket number: | 2018061521000424 | Bug group (optional): | Usability |
Max CVSS v3 score: | |||
Bug Depends on: | 47364 | ||
Bug Blocks: |
Description
Felix Botner
2013-08-06 15:40:29 CEST
Workaround: UDM search -> udm users/user list --filter oxAccessUSM=OK| grep '^DN' DN: uid=test2,cn=users,dc=fff,dc=ggg -> udm users/user list --filter oxAccessUSM=Not| grep '^DN' DN: uid=test1,cn=users,dc=fff,dc=ggg *** Bug 32473 has been marked as a duplicate of this bug. *** *** Bug 34204 has been marked as a duplicate of this bug. *** *** Bug 34494 has been marked as a duplicate of this bug. *** Ticket#: 2014072421000332 Reported again in form of "search filter for locked accounts does not work" Maybe we should just disable the options that do not work for now? For account locking/locked login, even the udm cli filter does not seem to work correctly: root@master:~# udm users/user list | grep locked -c 16 root@master:~# udm users/user list --filter locked=none | grep ^DN -c 14 root@master:~# udm users/user list --filter locked=all | grep ^DN -c 2 root@master:~# udm users/user list --filter locked=windows | grep ^DN -c 2 root@master:~# udm users/user list --filter locked=posix | grep ^DN -c 0 root@master:~# udm users/user list | grep locked locked: none locked: none locked: none locked: none locked: none locked: none locked: posix locked: none locked: none locked: none locked: windows locked: none locked: none locked: none locked: none locked: all *** Bug 47211 has been marked as a duplicate of this bug. *** The problem is that the search function right now only searches for the values 'true' and 'false', while the backend stores the values according to the udm syntaxes: ( 'OkOrNot': 'OK' - 'Not' 'TrueFalseUp': 'TRUE' - 'FALSE' 'boolean': '1' - '0' ) There is a fix for this in branch jahlers/32167-udm-search-boolean which simply replaces the checkboxes in udm search with dropdown menues. Unfortunately this doesn't work for the boolean syntax due to bug #47364. I send a pull request which enhances this handling. I think it can easily be adapted so that all checkbox-syntax-class values are correctly mapped (instead of adding a not so nice drop down menu). (In reply to Florian Best from comment #9) > I send a pull request which enhances this handling. I think it can easily be > adapted so that all checkbox-syntax-class values are correctly mapped > (instead of adding a not so nice drop down menu). The pull request has been implemented with Bug #40672. It has been adapted with commit 31f894ee7e658948d4b042ba144c6ff11f83a422 to include all boolean syntax classes. So... this is more a duplicate of Bug#40672? Because I cannot see any changes made for this bug nor do I see something in the YAML files. It seems as if any change related to this bug was reverted with the bug mentioned above. I think the target milestone is wrong. Can you check this? (In reply to Florian Best from comment #9) > I send a pull request which enhances this handling. I think it can easily be > adapted so that all checkbox-syntax-class values are correctly mapped > (instead of adding a not so nice drop down menu). The pull request has been implemented with Bug #40672. It has been adapted with commit 1587325369a81ae311ef195e054d1c4907b62815 to include all boolean syntax classes. |