Bug 53808

Summary: users/user broken searches
Product: UCS Reporter: Florian Best <best>
Component: UMC - UsersAssignee: UMC maintainers <umc-maintainers>
Status: NEW --- QA Contact: UMC maintainers <umc-maintainers>
Severity: normal    
Priority: P5    
Version: UCS 5.0   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=53830
https://forge.univention.org/bugzilla/show_bug.cgi?id=53807
https://forge.univention.org/bugzilla/show_bug.cgi?id=51777
https://forge.univention.org/bugzilla/show_bug.cgi?id=40740
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:

Description Florian Best univentionstaff 2021-09-17 18:17:41 CEST
I tried some searches for users/user via UDM CLI:

udm users/user list --filter="$property=$value"

The following properties don't return a result:

property   = 'preferredDeliveryMethod'
value      = 'physical'

property   = 'userexpiry'
value      = '2088-07-23'

property   = 'pwdChangeNextLogin'
value      = '1' 

property   = 'disabled'
value      = '1' 

property   = 'password'
value      = 'cmnfykb7if'
→ for security reasons this is correct.

property   = 'primaryGroup'
value      = 'cn=m3i3iiznfc,cn=groups,l=school,l=dev'

property   = 'homeSharePath'
value      = 'samc7pz5th'

property   = 'sambaLogonHours'
value      = '31'
→ Bug #53807

property   = 'umcProperty'
value      = 't7l0dq8wqy xuaig5pqpt'
(works via 't7l0dq8wqy=xuaig5pqpt')


The following properties could be removed from a filter expression:

property   = 'overridePWHistory'
value      = '0'

property   = 'overridePWLength'
value      = '0'

property   = 'locked'
value      = '0'