Environment
- App Control: 7.x - 8.x
- Microsoft Windows Server: All Supported Versions
Objective
To collect logs for Active Directory policy mapping troubleshooting.
Resolution
- Login to the Cb Protection console.
- Navigate to Rules > Policies > Mappings tab.
- Take a screenshot of this page.
- Navigate to C:\Program Files\Bit9\Parity Server\scripts\ and edit ScriptEvents.vbs (line 111) (NOTE: This step does NOT apply to 8.1 P2 and higher)
Comment out that line like:
'debugLevel = Args.ScriptDebugLevel
and add a new line:
debugLevel = 6 - Go to shepherd_config.php page, set "DebugConsoleCommunication" to true and "Debug Level" and "Script Debug Level" to 7.
- Browse to https://CbProtectionServerName/support.php.
- Under "Diagnostics tab - Server Logging" Set the Logging Duration to 30 minutes.
- Click Start Logging.
- Browse to https://CbProtectionServerName/testrules.php.
- Enter the test user name or test machine name.
- Click "Run Test".
- Take a screenshot of the result.
- Login to the Cb Protection Server (as the service account).
- Open an administrative command prompt (Use Run as > Service account)
- Run command:
cscript /U /nologo "C:\Program Files (x86)\Bit9\Parity Server\scripts\TestRules.vbs" -d 6 EnterTestUserNameOrComputerNameHere >> c:\temp\output.txt
- Browse to https://CbProtectionServerName/support.php
- Click "Stop Logging"
- In the right hand pane click "Available Log Files"
- Download a copy of the new serverlog{datetime}.bt9.
- Navigate to C:\Program Files (x86)\Bit9\Parity Server\scripts.
- Collect a copy of adrules.xml.
- Navigate to C:\Program Files\Bit9\Parity Server\scripts\ and edit ScriptEvents.vbs (line 111) (NOTE: This step does NOT apply to 8.1 P2 and higher)
Uncomment out that line like:
'debugLevel = Args.ScriptDebugLevel
And comment the following line:
debugLevel = 6 - Go to shepherd_config.php page, set "DebugConsoleCommunication" to false and "Debug Level" and "Script Debug Level" to 0.
- If the AD mapping is based on user’s AD membership:
- On a test machine, open an admin command prompt
- Run command:
net user EnterTestUsernameHere /domain
- Screenshot the result
- If the AD mapping is based on machine’s OU:
- In the Cb Protection console, browse to Assets > Computers > select the test computer
- Click on AD Details tab and take a screenshot of the result.
- Files to send to Carbon Black:
- Screenshots (step 3, 12, 22 or 23)
- Output.txt file (step 15)
- serverlog{datetime}.bt9 (step 19)
- adrules.xml (step 21)
Related Content