How to delete external (LDAP) users in the Vault?

How to delete external (LDAP) users in the Vault?

83
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 12:58 PM


Question


How do I delete external (Active Directory) Vault users?

Environment


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

Answer


As external users and groups are dependent on the external directory to log onto the Vault, deleting their user accounts does little more than erase any changes that may have been made in the external user accounts after they were created in the Vault. If the user exists in the external directory and there is a Directory Mapping defined with which this user matches, it will be able to log onto the Vault and create a new user account in the Vault at any time.

After a user has been removed from the external directory or after removing all Directory Mappings that this user matches with, it can no longer log onto the Vault. However, the user name still appears in the user hierarchy of the Vault until the next time that the Vault hierarchy is synchronized with the external directory, when his external user account in the Vault will be erased.

After a group has been removed from an external directory or after removing all Directory Mappings it matches with, the external group in the Vault is erased the next time that the Vault hierarchy is synchronized with the external directory.

The Vault synchronizes with the external directory according to the following
parameter in the dbparm.ini file.

AutoSyncExternalObjects, ExternalObjectsUpdatePolicy, ExternalObjectsDeletionPolicy

This parameter and default value specifies that External users and groups will be updated with any changes in the External Directory. 

ExternalObjectsUpdatePolicy=UpdateAll

This parameter and default value will delete external objects that were not found in the external directory as well as external objects that do not match an external directory map in the Vault will be deleted during the synchronization process. 

ExternalObjectsDeletionPolicy=DeleteAll


Additional Information


Details

Q:

How do I delete external (Active Directory) Vault users?

 

A:

As External Users and Groups are dependent on the external directory to log onto the Vault, deleting their user accounts does little more than erase any changes that may have been made in the External User Accounts after they were created in the Vault. If the user exists in the external directory and there is a Directory Mapping defined with which this user matches, it will be able to log onto the Vault and create a new user account in the Vault at any time.

After a User has been removed from the external directory or after removing all Directory Mappings that this user matches with, it can no longer log onto the Vault. However, the user name still appears in the Vault’s User hierarchy until the next time that the Vault hierarchy is synchronized with the external directory, when his External user account in the Vault will be erased.

After a group has been removed from an external directory or after removing all Directory Mappings it matches with, the external group in the Vault is erased the next time that the Vault hierarchy is synchronized with the external directory.The Vault synchronizes with the external directory according to the following parameter in the dbparm.ini file: AutoSyncExternalObjects, ExternalObjectsUpdatePolicy, ExternalObjectsDeletionPolicy


This parameter and default value specifies that External users and groups will be updated with any changes in the External Directory. 


ExternalObjectsUpdatePolicy=UpdateAll 


This parameter and default value will delete external objects that were not found in the external directory as well as external objects that do not match an external directory map in the Vault will be deleted during the synchronization process. 


ExternalObjectsDeletionPolicy=DeleteAll 




Actions
  • Print
  • Copy Link

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