Bug 38853

Summary: Warn "univention-ldapsearch -x"
Product: UCS Reporter: Philipp Hahn <hahn>
Component: ucslintAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: gohmann, schwardt
Version: UCS 4.0   
Target Milestone: UCS 4.1-2-errata   
Hardware: Other   
OS: Linux   
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:
Attachments: Current occurances

Description Philipp Hahn univentionstaff 2015-07-08 08:50:15 CEST
Created attachment 7008 [details]
Current occurances

"-x" is used to a force LDAP simple bind, which is an internal detail of what "univention-ldapsearch" currently implements.
"ucslint should warn about passing '-x' to the wrapper.
Comment 1 Philipp Hahn univentionstaff 2016-06-17 15:25:24 CEST
r70322 | Bug #38853 ucslint: Check for univention-ldapsearch -x

Package: ucslint
Version: 5.0.3-5.79.201606171517
Branch: ucs_4.1-0
Scope: errata4.1-2

r70324 | Bug #41603,Bug #38853,Bug #34253: ucslint YAML
 ucslint.yaml
Comment 2 Florian Best univentionstaff 2016-06-21 13:53:05 CEST
OK: fix detects:
univention-ldapsearch -x
univention-ldapsearch -LLLx
univention-ldapsearch -LxLL
univention-ldapsearch \
 -x

OK: YAML
Comment 3 Janek Walkenhorst univentionstaff 2016-06-22 14:21:40 CEST
<http://errata.software-univention.de/ucs/4.1/204.html>
Comment 4 Florian Best univentionstaff 2016-09-22 18:24:05 CEST
Fix detects wrong:
univention-ldapsearch -LLLofoox=yes

But I think this will never happen, at least i don't know any option with "x" :)