s4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3.
[ira/wip.git] / source4 / torture / rpc / spoolss.c
index 49eb27d83f6d7b7ff6286f421404fbd58a769795..31b7baf5da5d421f38ae404c9b1c18ee79f94fde 100644 (file)
@@ -4742,7 +4742,9 @@ static bool test_GetDriverInfo_winreg(struct torture_context *tctx,
        test_sz("Driver",                       driver_path);
        if (torture_setting_bool(tctx, "w2k3", false)) {
                DATA_BLOB blob = data_blob_talloc_zero(tctx, 8);
+               push_nttime(blob.data, 0, info.info6.driver_date);
                test_binary("DriverDate",       blob);
+               SBVAL(blob.data, 0, info.info6.driver_version);
                test_binary("DriverVersion",    blob);
        } else {
                test_sz("DriverDate",           driver_date);