Changing the Active Directory OU Where Users Get Created
Overview
This article describes how to change the Active Directory organizational unit (OU) where Netwrix Privilege Secure for Access Management users get created by modifying the appsettings.json file in the product's ProgramData directory.
Instructions
-
Open the following file in Notepad. (The drive letter may differ depending on your installation.)
C:\ProgramData\Stealthbits\PAM\WebService\appsettings.json -
Locate and change the following value. If a
ManagedOUssetting does not exist, add it before the final closing brace and append a comma to the preceding line:"ManagedOUs": {"Users": "SbPAM Users"} -
Example: if the Distinguished Name (DN) of the OU you want is “OU=Prod,OU=PAM,OU=SbPAM Users,DC=lab,DC=local”, change
"SbPAM Users"in the preceding example to"Prod,OU=PAM,OU=SbPAM Users".NOTE: The leading
OU=and trailingDC=segments are dropped.After the change, the setting looks like this:
"ManagedOUs": {"Users": "Prod,OU=PAM,OU=SbPAM Users"} -
Save the
appsettings.jsonfile.
After this change, users created or managed by Privilege Secure are created or managed in the newly specified Active Directory OU.
NOTE: Activities that are run with Managed login accounts, and were run before this configuration change was made, may still create user account objects in the SbPAM Users OU. To circumvent this behavior, change the Login Account Template on the activity. This prevents the activity from referencing any historical Postgres data referring to the SbPAM Users OU.