s4:torture: Enforce Printer Class
authorJustin Stephenson <jstephen@redhat.com>
Tue, 20 Nov 2018 16:25:49 +0000 (11:25 -0500)
committerBjoern Jacke <bjacke@samba.org>
Mon, 28 Jan 2019 18:34:41 +0000 (19:34 +0100)
commit232273bfac3e65e69c4b9f4527f93cdfe4724f6b
tree638677bd4b6af623dbb318ab1041ad3211550105
parent669b135b49db0bb7e89dfe44073ae9dd70500f97
s4:torture: Enforce Printer Class

Ensure that the provided inf defines Class=Printer for driver installation
to succeed.

Some driver packages(HP Universal Print Driver) include inf files with
other device types such as Class=USB. Attempting to install these will fail
when tested against Windows Server 2016 Print server using
iremotewinspool RPC calls.

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Bjoern Jacke <bjacke@samba.org>
Autobuild-User(master): Björn Jacke <bjacke@samba.org>
Autobuild-Date(master): Mon Jan 28 19:34:41 CET 2019 on sn-devel-144
source4/torture/rpc/iremotewinspool_driver.c