PVWA - Auto discovery Hangs at 0% and/or Crashed immediately with "authentication error"

PVWA - Auto discovery Hangs at 0% and/or Crashed immediately with "authentication error"

97
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 16:00 PM


Symptom


Auto discovery hangs at 0% and requires a termination of "Idira Central Policy Manager Scanner" process as well as a restart of "Idira Central Policy Manager" service in order to reset.

Auto discovery crashed immediately with an error of 

25/08/2017 13:56:11.266 | tid=10 | user=CACPMScanner | TasksRunner | StartTask | Failed to invoke task: id=19,taskTypeId=1,creationTime=1503694562,status=0,inputParameters=<ActiveDirectoryListMachinesTask z:Id="1"
xmlns="PIMSuiteData.Facade.CPM.Scanner" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"><SourceName z:Id="2">Active Directory</SourceName><SafeId>10</SafeId>
<FileNumber>22</FileNumber><LDAPPath z:Id="3">OU=MachinesPC,DC=QAProjectsPC,DC=ysicloud,DC=com</LDAPPath><LDAPAddress
z:Id="4">qaprojectspc.ysicloud.com</LDAPAddress><DisableUsages>true</DisableUsages><ScanType>WIN</ScanType>
<ShouldUseLDAPS>false</ShouldUseLDAPS>
</ActiveDirectoryListMachinesTask>,retry=0,minStartTime=0,createdBy=POCAdmin,discoveryName=Windows discovery
from MachinesPC@qaprojectspc.ysicloud.com,nextRunTime=1503694562,schedulingInfo=,lastRunTime=2147483647,Consumers=i64UserObjec
tId=32,UserName=PasswordManagerH,TaskRuns=. error: Failed to retrieve a list of machines from 'OU=<customer OU>,DC=<name>,DC=
<name>,DC=com' path in 'Active Directory' source. The user name or password is incorrect.



Environment


10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10

In this case, we were leveraging a domain admin credential to scan the domain in question. We noticed that we could browse certain shares, but not others. We used Net use to test. 

net use <computer>\IPC$ /user:<domain>\<domain user> (This checks connection to IPC$ on target asset in destination OU to be scanned)

net use <computer>\Admin$ /user:<domain>\<domain user> (This checks connection to Admin$ on target asset in destination OU to be scanned) 

In this case when using the domain admin account of the domain with the target OU, running the net use on targets in the OU successfully connected to IPC$ but not Admin$. This led the customer to check their environmental settings. 



Cause


Unique customer environment had a domain admin without local admin access in its own domain. As a result, the domain admin credential did not have local admin access on targets in the OU that we were trying to run an auto discovery scan against. 



Resolution


Make sure the domain admin credential has local admin access in its own domain. 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001AgTCAU&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail