Quantcast
Channel: Symantec Connect - Products - Ideas
Viewing all articles
Browse latest Browse all 1891

Bugfix inventoryreport1.php

$
0
0

found in version 12.1.5

in <SEPM>\Inetpub\Reporting\Inventory\inventoryreport1.php

lines 224 - 225.

The report translates an unknown OS Type (R_OS_TYPE = 0) as a "Windows" computer:

   WHEN (SA.R_OS_TYPE NOT IN (".$mutils->macOsConstants.") AND (SA.R_OS_TYPE & 0xF0FF0000) NOT IN (0x20000000)) THEN '1'WHEN SA.R_OS_TYPE IN (".$mutils->macOsConstants.") THEN '2' WHEN (SA.R_OS_TYPE & 0xF0FF0000) IN (0x20000000) THEN '3'   ELSE '0'END as R_OS_TYPE";

So there is a need to separate unknown OS-es before checking Windows, Linux or Mac types.

So insert a line before line 224, resulting in:

   WHEN SA.R_OS_TYPE NOT IN (0x) THEN '0'   WHEN (SA.R_OS_TYPE NOT IN (".$mutils->macOsConstants.") AND (SA.R_OS_TYPE & 0xF0FF0000) NOT IN (0x20000000)) THEN '1'WHEN SA.R_OS_TYPE IN (".$mutils->macOsConstants.") THEN '2' WHEN (SA.R_OS_TYPE & 0xF0FF0000) IN (0x20000000) THEN '3'   ELSE '0'END as R_OS_TYPE";

Viewing all articles
Browse latest Browse all 1891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>