How to Confirm Permissions for Active Directory > 5. Domains > 0.Collection > AD_DomainControllers
Question
How can you verify if the account used in Netwrix Enterprise Auditor (NEA) for this job has the correct access?
Answer
The AD_DomainControllers job for the NEA Active Directory module uses the following permissions for a least privilege model:
- Read access to CN=Servers, %SITEDN% and its children
- Read access to %PARTITIONDNS% and its children
- Read access to %SCHEMADN%
- Read access to %SITESDN% and its children
General Steps to Start with ldp.exe
- Launch
ldp.exe.- Press
Win + R, typeldp.exe, and hitEnter.
- Press
- Connect to a Domain Controller.
- Navigate to Connection > Connect.
- Enter the Domain Controller name used by the AD_DomainControllers job and port (default is
389or636for LDAPS). - Click OK.
- Bind Using the User Account.
- Go to Connection > Bind.
- Enter the credentials for the user account whose access you want to test.
- Click OK.
Testing Read Access to CN=Servers, %SITEDN% and Its Children
- Navigate to
CN=Servers,%SITEDN%.- Click View > Tree.
- Enter the Base DN:
CN=Servers,CN=<SiteName>,CN=Sites,CN=Configuration,DC=<DomainComponent>,DC=<DomainComponent>
- Replace
<SiteName>with the site name (e.g.,Default-First-Site-Name).- If unsure, run
nltest /dsgetsitefrom AdminPS on the DC to get the SiteName.
- If unsure, run
- Replace
<DomainComponent>with your domain components (e.g.,example,DC=com).
- Replace
- Click OK.
- Verify Access.
- Expand
CN=Serversand check if you can browse and view its children. - If successful, then the user has Read access.
- Expand
Testing Read Access to %PARTITIONDNS% and Its Children
- Navigate to the Partition DN.
- Click View > Tree.
- Enter the Base DN:
DC=<DomainComponent>,DC=<DomainComponent>
- Use your domain's distinguished name (e.g.,
DC=example,DC=com).
- Use your domain's distinguished name (e.g.,
- Click OK.
- Verify Access.
- Expand the domain node and check if you can view objects and attributes within it.
- If you can browse the structure, then the user has Read access.
Testing Read Access to %SCHEMADN%
- Navigate to the Schema DN.
- Click View > Tree.
- Enter the Base DN:
CN=Schema,CN=Configuration,DC=<DomainComponent>,DC=<DomainComponent>
- Replace
<DomainComponent>with your domain components.
- Replace
- Click OK.
- Verify Access.
- Expand
CN=Schemaand check if you can view its objects and attributes. - If successful, then the user has Read access to the schema.
- Expand
Testing Read Access to %SITESDN% and Its Children
- Navigate to the Sites DN.
- Click View > Tree.
- Enter the Base DN:
CN=Sites,CN=Configuration,DC=<DomainComponent>,DC=<DomainComponent>
- Replace
<DomainComponent>with your domain components.
- Replace
- Click OK.
- Verify Access.
- Expand
CN=Sitesand check if you can browse through the sites and view their child objects. - If successful, then the user has Read access to the sites.
- Expand