iremotewinspool-tests: Allow modification of OS client version information
authorJustin Stephenson <jstephen@redhat.com>
Wed, 15 Aug 2018 15:10:21 +0000 (11:10 -0400)
committerJeremy Allison <jra@samba.org>
Fri, 7 Sep 2018 23:43:27 +0000 (01:43 +0200)
commit4fc0602d975277287ef5257929dff49d21b05adc
treebacf5056aa6463dea719410475e5dd37d1feac89
parentb8279f6525b806d8f91aa8ce016bd528fff917f4
iremotewinspool-tests: Allow modification of OS client version information

Add test_get_client_info() function to set and, or modify the client OS
version values advertised in the iremotewinspool torture tests.

The OS build numbers are used from the table in:

  [MS-RPRN] <168> Section 2.2.3.10.1

Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/torture/rpc/iremotewinspool.c