Vault - LDAP Directory Mapping via PrivateArk Client on Vault server

Vault - LDAP Directory Mapping via PrivateArk Client on Vault server

112
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 13:00 PM


Symptom


When attempting to add or modify a directory mapping rule using the PrivateArk Client while on the Vault server, you get an error:
Failed to query LDAP (Failed to initialize LDAP search query "(|(objectClass=organizationalUnit)(objectClass=domain)(objectClass=container)(objectClass=orclContainer)(objectClass=orclContext))",16) 

Alternatively, if LDAP over SSL is not enabled, you get prompted for credentials for the bind user.


Environment


10.10;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault Server;Vault Vault

Cause


While in the PrivateArk Client on the Vault server, on the "New/Update Rule" screen, hitting "Browse" next to the Directory Name field and attempting to expand a previously configured directory results in the above error. 
 
Further, if you attempt to click the "LDAP Connection..." button on that same screen and try to manually fill in the bind user, you get an error similar to the following:
Failed to connect to LDAP (Connection failed to all hosts of "{directory name}" LDAP directory (Last host name: {domain controller}, Last LDAP error: Server Down, Code: 81), 26)


Resolution


Use the PrivateArk Client on a machine that is not the Vault server.
 
The PrivateArk Client cannot communicate with the LDAP directory on the Vault server, as the default firewall rules will block communication over the standard LDAP/S ports (389 or 636).
 
Note: This may also apply, with similar errors, when communication is blocked between the server that has the PrivateArk Client on it and the domain controller that is configured in the LDAP integration.
 
Note: This can also occur when the account used to connect does not have permissions to AD. Be sure to specify the vault's bind user and it's password to confirm a successful connection.


Additional Information


Details

SYMPTOM:
When attempting to add or modify a directory mapping rule using the PrivateArk Client while on the Vault server, you get an error:
Failed to query LDAP (Failed to initialize LDAP search query "(|(objectClass=organizationalUnit)(objectClass=domain)(objectClass=container)(objectClass=orclContainer)(objectClass=orclContext))",16) 

Alternatively, if LDAP over SSL is not enabled, you get prompted for credentials for the bind user.

PROBLEM:
While in the PrivateArk Client on the Vault server, on the "New/Update Rule" screen, hitting "Browse" next to the Directory Name field and attempting to expand a previously configured directory results in the above error. 

Further, if you attempt to click the "LDAP Connection..." button on that same screen and try to manually fill in the bind user, you get an error similar to the following:
Failed to connect to LDAP (Connection failed to all hosts of "{directory name}" LDAP directory (Last host name: {domain controller}, Last LDAP error: Server Down, Code: 81), 26)
 
SOLUTION:
Use the PrivateArk Client on a machine that is not the Vault server.

The PrivateArk Client cannot communicate with the LDAP directory on the Vault server, as the default firewall rules will block communication over the standard LDAP/S ports (389 or 636).

Note: This may also apply, with similar errors, when communication is blocked between the server that has the PrivateArk Client on it and the Domain controller that is configured in the LDAP integration.

Note: This can also occur when the account used to connect does not have permissions to AD. Be sure to specify the vault's bind user and it's password to confirm a successful connection.




Actions
  • Print
  • Copy Link

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