CPM - Windows Domain via LDAP plugin is successful, however, it is taking longer than expected

CPM - Windows Domain via LDAP plugin is successful, however, it is taking longer than expected

107
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:07 PM


Symptom


When utilizing the Windows Domain via LDAP plugin to manage accounts in Active Directory, the plugin functions successfully, but delays are seen in the Third Party debug logs when the plugin attempts to establish a connection to the Domain Controller and when searching for users on the DC.

IE:
07/04/2021 04:50:05.066 | Info -> ConnectionManager :: Init -> START
07/04/2021 04:50:05.066 | Info -> ConnectionManager :: Init -> Started connection to address '<domain.fqdn>' with user '<account.UPN>'.
07/04/2021 04:50:20.158 | Info -> ConnectionManager :: Init -> Connection completed successfully.
07/04/2021 04:50:20.158 | Info -> ConnectionManager :: Init -> END
07/04/2021 04:50:35.825 | Info -> LdapUtils :: SearchUser -> START
07/04/2021 04:50:35.825 | Info -> LdapUtils :: GetUsernameType -> START
07/04/2021 04:50:35.825 | Info -> LdapUtils :: GetUsernameType -> Account name type of '<account.UPN>' is 'UPN'. 
07/04/2021 04:50:35.825 | Info -> LdapUtils :: GetUsernameType -> END
07/04/2021 04:51:05.973 | Info -> LdapUtils :: SearchUser -> END

 


Environment


9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0 Active Directory environment where accounts are managed using the Windows Domain via LDAP CPM plugin.

Cause


This behavior has been seen in environments where TCP LDAP communications are allowed, but UDP LDAP communications are blocked.

IE:
Environment is configured to use Kerberos and LDAPS over port 636:
    Authentication Type: Kerberos
    UseSSL: Yes
    Port: 636

At the firewall the following ports are allowed:
    DNS UDP:53
    Kerberos TCP:88
    LDAPS TCP:636

In the above scenario, when the OS of the CPM attempts standard connectionless LDAP queries to the DC over UDP 389, those communications are blocked resulting in delays while the connection times out.


Resolution


Allow connectionless LDAP between the CPM OS and the DC

CLDAP UDP:389


Actions
  • Print
  • Copy Link

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