Bug 33558

Summary: Filter via univentionService is not possible
Product: UCS Reporter: Janis Meybohm <meybohm>
Component: UMC - ComputersAssignee: UMC maintainers <umc-maintainers>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P5 CC: best, klaeser
Version: UCS 3.2   
Target Milestone: UCS 3.2-x   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=32843
https://forge.univention.org/bugzilla/show_bug.cgi?id=40740
What kind of report is it?: --- 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 Janis Meybohm univentionstaff 2013-11-25 12:37:15 CET
I'm unable to find any computer object via a service filter.
Comment 1 Alexander Kläser univentionstaff 2013-11-25 14:36:29 CET
The following LDAP filter is being used:

  (&(!(objectFlag=hidden))(service=*LDAP*))

… yet only equality match is possible according to the LDAP schema:

attributetype ( 1.3.6.1.4.1.10176.66 NAME 'univentionService'
    DESC 'server services'
    EQUALITY caseExactMatch
    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
Comment 2 Florian Best univentionstaff 2013-11-27 08:25:37 CET
Bug #32843 same problem?
Comment 3 Alexander Kläser univentionstaff 2013-11-27 09:52:39 CET
(In reply to Florian Best from comment #2)
> Bug #32843 same problem?

Possibly yes. I think the problem applies to many search cases.
Comment 4 Florian Best univentionstaff 2016-09-08 14:28:54 CEST
root@xen3:~# udm computers/computer list --filter service=SMTP
service=SMTP
DN: cn=xen3,cn=dc,cn=computers,dc=school,dc=local
ARG: None