LDAP - users or groups that are returned when directory map is tested can't be found when trying to add them to the Vault from LDAP

LDAP - users or groups that are returned when directory map is tested can't be found when trying to add them to the Vault from LDAP

131
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 13:04 PM


Symptom


After setting up a directory mapping for and testing it, users or groups that show up after clicking the "Test" button in the Directory Mapping window in the PrivateArk client are later on not found when trying to add them to the Vault from LDAP.

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) Vault Server;Vault

Cause


  1. There could be a problem with the ACL on the OU that contains the user or groups that showed up in the test
  2. When testing the directory mapping using the "Test" button in the PrivateArk client, the user that is used to query the directory is the domain user currently logged on to the station that the PrivateArk client is used from while the user that is used to query the directory when adding users or groups to the Vault (or adding them as Safe owners) is the LDAP bind user (configured in the "C:\Program Files\PrivateArk\Server\LDAP\Directories\<directory.ini>" file on the Vault server). These users may have different authorizations in the directory and may not be able to query the same users and groups in the directory


Resolution


In the directory try clicking the 'Default' button on the Advanced Permissions:
  1. Right click the container where the groups are located and select "Properties"
  2. In the "Group Policy" tab click the "Properties" button
  3. Select the "Security" tab and click on the "Advanced" button
  4. Click the "Default" button
If this doesn't help and you still can't add all the users and groups from LDAP that you see in the directory mapping "Test", check if the reason is that the domain user logged on to the station from which the test is being done has different authorizations in the directory than the LDAP user. You can log on to the station where the PrivateArk client is installed with the LDAP bind user and check if the results of the directory mapping "Test" and adding users and groups from the directory match.


Additional Information


Details

SYMPTOM:
After setting up a directory mapping for and testing it, users or groups that show up after clicking the "Test" button in the Directory Mapping window in the PrivateArk client are later on not found when trying to add them to the Vault from LDAP.

PROBLEM:
  1. There could be a problem with the ACL on the OU that contains the user or groups that showed up in the test
  2. When testing the directory mapping using the "Test" button in the PrivateArk client, the user that is used to query the directory is the domain user currently logged on to the station that the PrivateArk client is used from while the user that is used to query the directory when adding users or groups to the Vault (or adding them as Safe owners) is the LDAP bind user (configured in the "C:\Program Files\PrivateArk\Server\LDAP\Directories\<directory.ini>" file on the Vault server). These users may have different authorizations in the directory and may not be able to query the same users and groups in the directory

SOLUTION:
In the directory try clicking the 'Default' button on the Advanced Permissions:
  1. Right click the container where the groups are located and select "Properties"
  2. In the "Group Policy" tab click the "Properties" button
  3. Select the "Security" tab and click on the "Advanced" button
  4. Click the "Default" button
If this doesn't help and you still can't add all the users and groups from LDAP that you see in the directory mapping "Test", check if the reason is that the domain user logged on to the station from which the test is being done has different authorizations in the directory than the LDAP user. You can log on to the station where the PrivateArk client is installed with the LDAP bind user and check if the results of the directory mapping "Test" and adding users and groups from the directory match.


Actions
  • Print
  • Copy Link

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