Bug 39166 - UCR sshd/banner doesn't apply
UCR sshd/banner doesn't apply
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: SSH
UCS 3.2
Other Linux
: P5 minor (vote)
: UCS 4.0-3-errata
Assigned To: Philipp Hahn
Daniel Tröder
:
Depends on:
Blocks: 39375
  Show dependency treegraph
 
Reported: 2015-08-13 11:35 CEST by Daniel Orrego
Modified: 2015-09-21 16:48 CEST (History)
2 users (show)

See Also:
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

Note You need to log in before you can comment on or make changes to this bug.
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>