Client printing operations currently fail against Windows
Server 2016 with Access Denied if a client os build number
lower than 6000 is advertised. Increase the default build number,
major, and minor versions to values associated with client
OS versoins Windows 7 and Windows Server 2008 R2.
The build number value specifically needs to be increased to
allow these operations to succeed.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13597
Signed-off-by: Justin Stephenson <jstephen@redhat.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
}
}
-#define GLOBAL_SPOOLSS_CLIENT_OS_MAJOR_DEFAULT 2
-#define GLOBAL_SPOOLSS_CLIENT_OS_MINOR_DEFAULT 0
-#define GLOBAL_SPOOLSS_CLIENT_OS_BUILD_DEFAULT 1381
+/* Windows 7 and Windows Server 2008 R2 */
+#define GLOBAL_SPOOLSS_CLIENT_OS_MAJOR_DEFAULT 6
+#define GLOBAL_SPOOLSS_CLIENT_OS_MINOR_DEFAULT 1
+#define GLOBAL_SPOOLSS_CLIENT_OS_BUILD_DEFAULT 7007
WERROR spoolss_init_spoolss_UserLevel1(TALLOC_CTX *mem_ctx,
const char *username,