Vault - LDAP Users and Groups membership is not synchronized in the Vault

Vault - LDAP Users and Groups membership is not synchronized in the Vault

123
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:58 PM


Symptom


When checking the groups a user belongs to, not all the expected groups are shown.
When checking the members of a group, not all the expected users are shown.
The results are not consistent with the affected users and groups.
This means some users that were affected some days ago, can be properly located in all their expected groups the next day.
The issue may cause random users lack of access to different safes and other resources in the system.


Environment


11.5;11.7;12.0;12.1;12.2;12.6;13.0;13.2;14.0 Privileged Access Manager (PAM, self-hosted) Vault Server Vault Server (any version) with LDAP integration.
This LDAP integration is quite complex, it consists of thousands of groups and the users belonging to lots of those groups, to allow them access to several resources.


Cause


The time to run the LDAP Synch task, by default 1 hour between 23:00 and 00:00, is not long enough to allow the full LDAP synchronization in this particular scenario.

Resolution


It seems that one hour was not enough to perform all the LDAP synch as there was a great amount of groups and users to synch.
So, changing the entry in dbparm.ini to:

AutoSyncExternalObjects=Yes,1,2,5

will allow the LDAP Sync task run for 3 hours (between 02:00 and 05:00), which should be enough to perform the synchronization.

Note: The Vault Server services have to be restarted for the changes to take effect.


Actions
  • Print
  • Copy Link

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