Bug 40573

Summary: Add testcase for cups/printmode/hosts/none
Product: UCS Test Reporter: Arvid Requate <requate>
Component: PrintserverAssignee: UCS maintainers <ucs-maintainers>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P5 CC: best, birkefeld, botner, gohmann, requate
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
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 Arvid Requate univentionstaff 2016-02-03 19:35:38 CET
We need a test for cups/printmode/hosts/none.

TODO:

0. Install univention-printserver on some UCS test system (probably where the test is run)

1. On the "server" system set cups/printmode/hosts/none to the IP of the "client" and reload cups

2. Install univention-printclient on some other UCS "client" system (memberserver) and set cups/server to point to the "server" system and attempt to print


Maybe the simplest setup would be to use the DC Master as the print client for this:
============================================================================
## roles:
## - memberserver ## or domaincontroller_slave
## packages:
##  - univention-printserver
#
# 1. Step: ucr set cups/printmode/hosts/none=<master IP>; service cups reload
# 2. Step: univention-ssh to master to univention-install univention-printclient
#          and set cups/server to point to the memberserver/slave
#          and attempt to print
============================================================================

(The next best idea would be to create a "client" memberserver in a docker container).