CPM - Auto-Detection - How do I speed up OU searches for Auto-Detection?

CPM - Auto-Detection - How do I speed up OU searches for Auto-Detection?

95
Created On 11/10/26 10:53 AM - Last Modified 11/10/26 13:00 PM


Question


My Auto-Detection OU scans are very slow. How can I improve their performance?

Environment


v7.0;v7.1;v7.2;v8.0;8.1;v8.2;v8.5;v8.6;v9.0;v9.1;v9.2;9.3;9.5;10.8 Privileged Access Manager (PAM, self-hosted);Privilege Cloud Central Policy Manager (CPM)

Answer


The default query (OU=*) is not an indexed property in LDAP. Use (objectClass=organizationalUnit) in your "ContainerQueryFilter" instead of "(OU=*)" or leave it blank. For example, a ContainerQueryFilter to search all OUs in a directory except for an Organizational Unit called "OU2" would be: 
&(objectClass=organizationalUnit)(!OU=OU2)

 


Additional Information


Details

Q:

My Auto-Detection OU scans are very slow. How can I improve their performance?

 

A:

The default query (OU=*) is not an indexed property in LDAP. Use (objectClass=organizationalUnit) in your "ContainerQueryFilter" instead of "(OU=*)" or leaving it blank. For example, a ContainerQueryFilter to search all OUs in a directory except for an Organizational Unit called "OU2" would be:

 

&(objectClass=organizationalUnit)(!OU=OU2)




Actions
  • Print
  • Copy Link

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