No visibility for accounts after decommissioning a Domain Controller (DC)
99
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:52 PM
Symptom
After decommissioning a DC and adding a new DC with some changes to the directory names, users had no visibility to the required Accounts. The newly commissioned domain utilized the same naming standards which would indicate visually no changes to the domain.
As a result of this, it could be seen within the italog that groups/users were deleted (error 5) during the daily LDAP sync after the decommission was performed, which resulted in users losing access to their Safes and Accounts. This particular error is documented below:
"Reason code 5 means that the directory set for this User or Group does not exist, this can happen if directory ini file was removed, or if directory name setting in this file was changed."
Source: https://community.cyberark.com/s/article/00000915
Environment
Privilege Cloud Privilege Cloud Web Portal Privilege Cloud Web Portal
Resolution
In the event this happens, the main workaround to this is to manually re-apply the safe permissions of the affected users/groups. Alternatively, the steps below are some actions that can be taken prior to such a change being made:
1. Before decommissioning the old DC, add the user of the new DC to the existing safe(s). In this situation, we would expect to see two users of the same name as members of the safe. You can either add this manually via the normal Safe edit permissions screen (click here for more information), or potentially using REST API.
2. Run a "Entitlement Report" from your Portal, ensuring "Include Groups" is ticked when this report is created, whereby this will provide you with an overview of what users/groups are owners of what safes. As we have added the users from step #1 above, you should see the same user/group twice for each safe.
Although this is not available to Privilege Cloud customers, there is also the "Owners List" available within the PrivateArk Client, which could also be used to confirm this. Note that the "Owners List" is a report that will need to be requested from Support.
3. When it is believed the groups have been added with the required safe permissions, decommission the old DC and wait for the daily LDAP sync to be performed, whereby the group ownership of the old DC will be removed. However, the new DC will already be mapped as per step #1 above.
2. Run a "Entitlement Report" from your Portal, ensuring "Include Groups" is ticked when this report is created, whereby this will provide you with an overview of what users/groups are owners of what safes. As we have added the users from step #1 above, you should see the same user/group twice for each safe.
Although this is not available to Privilege Cloud customers, there is also the "Owners List" available within the PrivateArk Client, which could also be used to confirm this. Note that the "Owners List" is a report that will need to be requested from Support.
3. When it is believed the groups have been added with the required safe permissions, decommission the old DC and wait for the daily LDAP sync to be performed, whereby the group ownership of the old DC will be removed. However, the new DC will already be mapped as per step #1 above.