Adding external LDAP user as owner to a safe returns ITALD002E Failed to perform LDAP operation Code: 36,85

Adding external LDAP user as owner to a safe returns ITALD002E Failed to perform LDAP operation Code: 36,85

123
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 12:59 PM


Symptom


From PVWA when adding an external user from LDAP as owner of a safe, the search is very slow and eventually fails.
After setting debug level the following error is received in the trace:
ITALD002E Failed to perform LDAP operation. (Reason: Error performing query "(&(objectClass=person)(|(sAMAccountName=*user*)(givenName=*user*)(sn=*user*)))", Code: 36,85).


Environment


10.5;10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Privilege Cloud Web Portal;Vault

Cause


This error message indicates a problem where the query takes too long and then times out (error code 85).
In the query, all strings start and end with *, meaning it perform a search of type "Contains." For every parameter it looks for an entry containing (start, end or middle) the search input. This kind of search is inefficient and takes a long time.


Resolution


Changing search type to look for an entry which starts with the search input will make the search much quicker and therefore efficient.
Do so by going to 'System Configuration' -> 'Web Access' -> 'Options' -> 'LDAP Search' and setting 'BeginWith' as 'Search Type'.


Additional Information


Details

SYMPTOM:
From PVWA when adding an external user from LDAP as owner of a safe, the search is very slow and eventually fails.
After setting debug level the following error is received in the trace:
ITALD002E Failed to perform LDAP operation. (Reason: Error performing query "(&(objectClass=person)(|(sAMAccountName=*user*)(givenName=*user*)(sn=*user*)))", Code: 36,85).

PROBLEM:
This error message indicates a problem where the query takes too long and then times out (error code 85).
In the query, all strings start and end with *, meaning it perform a search of type "Contains." For every parameter it looks for an entry containing (start, end or middle) the search input. This kind of search is inefficient and takes a long time.

SOLUTION:
Changing search type to look for an entry which starts with the search input will make the search much quicker and therefore efficient.
Do so by going to 'System Configuration' -> 'Web Access' -> 'Options' -> 'LDAP Search' and setting 'BeginWith' as 'Search Type'.



Actions
  • Print
  • Copy Link

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