Bug 39166

Summary: UCR sshd/banner doesn't apply
Product: UCS Reporter: Daniel Orrego <orrego>
Component: SSHAssignee: Philipp Hahn <hahn>
Status: CLOSED FIXED QA Contact: Daniel Tröder <troeder>
Severity: minor    
Priority: P5 CC: hahn, walkenhorst
Version: UCS 3.2   
Target Milestone: UCS 4.0-3-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:
Bug Depends on:    
Bug Blocks: 39375    

Description Daniel Orrego univentionstaff 2015-08-13 11:35:47 CEST
Currently (UCS 3.2-6), displaying a banner in a ssh login can't be configured using UCR variable sshd/banner.

When setting the variable, the following traceback appears:

~# ucr set sshd/banner='/etc/issue.net'
Setting sshd/banner
File: /etc/ssh/sshd_config
Traceback (most recent call last):
  File "<stdin>", line 12, in <module>
TypeError: object of type 'bool' has no len()
Comment 1 Philipp Hahn univentionstaff 2015-08-28 17:14:08 CEST
r63330 | Bug #39166 base: Copyright 2015
r63329 | Bug #39166 ssh: Fix sshd/banner handling
r63328 | Bug #39166 base: Copyright 2015
r63327 | Bug #39166 ssh: Fix sshd/banner handling
 Remove broken length check code

Package: univention-base-files
Version: 4.0.8-10.201.201508281710
Branch: ucs_4.0-0
Scope: errata4.0-3

Package: univention-base-files
Version: 5.0.0-5.200.201508281710
Branch: ucs_4.1-0

r63331 | Bug #39166 ssh: Fix sshd/banner handling YAML
 2015-08-27-univention-base-files.yaml
Comment 2 Daniel Tröder univentionstaff 2015-08-28 17:27:29 CEST
OK: code
OK: 4.1 merge
OK: YAML
OK: manual test of UCRV sshd/banner
Comment 3 Daniel Orrego univentionstaff 2015-08-31 10:57:02 CEST
Hi, this was originally reported for UCS 3.2, we would need the patch backported, if possible. Thanks.
Comment 4 Janek Walkenhorst univentionstaff 2015-09-01 11:54:28 CEST
<http://errata.univention.de/ucs/4.0/293.html>