Windows Domain Servers
Integrate Active Directory to manage access to Windows domain servers
Active Directory (AD) is Microsoft's directory service for Windows domains, holding the users, groups, and computer accounts that Windows servers authenticate against. Windows grants Remote Desktop access to members of a server's built-in local groups. These local groups can include Active Directory groups.
Through this integration, Apono helps you discover your Windows servers and securely manage access through your Active Directory domain. Apono connects only to a domain controller, never to the servers themselves, so a server that is switched off or unreachable can still be granted.
Prerequisites
Apono Connector
On-prem connection serving as a bridge between an Active Directory domain and Apono:
Windows Server
Windows domain server running Windows Server 2012 or later
Network Access
Access from the connector to one domain controller on the LDAP port:
636(LDAPS)389(LDAP)
NOTE: No other port is required. The connector does not communicate directly with the Windows servers.
Domain Controller Address
Hostname or address of one domain controller that the Apono Connector can reach
You will use this value to configure the LDAP Server URL.
Active Directory Account Access
Active Directory account with permission to create or configure the account used by the Apono Connector and assign it permission to manage groups in one container
NOTE: Domain Admin privileges are not required.
CA Certificate
(Conditional) Certificate of the authority that issued your domain controller's LDAPS certificate, base64-encoded in PEM format
NOTE: This is required whenever that certificate was not issued by a public certificate authority, which is usual for internal domain controllers.
Obtain Active Directory distinguished names
Active Directory uses distinguished names (DNs) to uniquely identify objects and containers within a domain. For this integration, you need the DNs for the organizational unit containing the Windows servers and the container where Apono can create and manage groups.
Servers OU
Identifies the organizational unit containing the Windows servers Apono should discover
Use this DN when creating the Apono Group Policy Object and as the Computers Scope when configuring the integration.
OU=Servers,OU=CORP,DC=corp,DC=example,DC=com
Groups container
Identifies the container where Apono can create and manage groups
In a self-managed Active Directory domain, use this DN when delegating permissions to the Apono account. Also use it as the Groups Scope when configuring the integration.
OU=AponoGroups,OU=CORP,DC=corp,DC=example,DC=com
Follow these steps:
Open Active Directory Users and Computers.
Click View > Advanced Features.
Open the organizational unit containing the Windows servers.
On the Attribute Editor tab, locate
distinguishedNameand copy its value.Open the container where Apono will create and manage groups.
On the Attribute Editor tab, locate
distinguishedNameand copy its value.
Create an Active Directory user
You must create a user in your Active Directory domain for the Apono Connector and grant that user permission to manage groups in one container. Apono requires permission to read computer objects in the Servers OU and to create, read, and manage group membership in the Groups container.
Follow these steps:
Create and configure a dedicated Active Directory user for the Apono Connector. Follow the instructions for your Active Directory deployment.
Obtain the directory ID.
Create the service account. Replace
<DIRECTORY-ID>with the directory ID obtained in step 1. The account is created inOU=Users,OU=<NETBOIS>and is initially disabled.
Set the password. Replace
<DIRECTORY-ID>with the directory ID obtained in step 1 and<PASSWORD>with a password. Setting the password enables the account.
Grant the account permission to manage groups. Replace
<DIRECTORY-ID>with the directory ID obtained in step 1.
Create a dedicated Active Directory account using your organization's standard process.
Delegate group management permissions on the Groups container identified earlier. Replace
<GROUPS-CONTAINER-DN>with the Groups container DN identified earlier,<DOMAIN>with your domain, and<ACTIVE-DIRECTORY-USER>with the account you created.
Create a secret using the username and password of the Active Directory user. This enables the Apono Connector to use the secret to authenticate to Active Directory from within your environment. Apono does not store these credentials. Use the following key-value pair structure when generating the secret. Replace
<USERNAME>and<PASSWORD>with the account credentials.
You can also input the user credentials directly into the Apono UI during the integration process.
Create the Apono Group Policy Object (GPO)
Windows uses built-in local groups to control access to servers. To support Apono-managed access, use the Apono-provided script to create a GPO that associates Apono-managed Active Directory groups with the appropriate local groups.
This is a one-time configuration performed by an account that can create and link GPO. It applies to every server in the Organizational Unit (OU), including servers added later, without requiring configuration on each server.
If you need to manually configure the GPO, expand the Configure the Group Policy Object manually callout below and follow the steps.
Follow these steps:
Sign in to a domain-joined machine using an account with permission to create and link GPOs.
If needed, install the Group Policy Management tools.
Run the Apono-provided script and specify the Servers OU.
Integrate Windows Domain Servers
Before completing setup, create and link the Apono Group Policy Object (GPO) to the Servers OU. The GPO is required for requesters to access Windows servers.
You can also use the steps below to integrate with Apono using Terraform.
In step 12, instead of clicking Confirm, follow the Are you integrating with Apono using Terraform? guidance.
Follow these steps to complete the integration:
On the Catalog tab, click Windows Domain Servers. The Connect Integration page appears.
Under Discovery, select one or multiple resource types.
Click Next. The Apono connector section expands.
From the Select Connector From List dropdown menu, select a connector. Choosing a connector links Apono to all the services available on the account where the connector is located.
If the desired connector is not listed, click New Connector and follow the instructions for creating a connector (AWS, Azure, GCP, Kubernetes).
Click Next. The Integration Config section expands.
Define the Integration Config settings.
SettingDescriptionIntegration Name
Unique, alphanumeric, user-friendly name used to identify this integration when constructing an access flow
LDAP Server URL
Domain controller address identified in the Prerequisites
Enter the address with the protocol and port:
ldaps://<HOSTNAME>:636 (LDAPS)
ldap://<HOSTNAME>:389 (LDAP).
Example: ldaps://dc1.corp.example.com:636
Apono recommends using LDAPS because LDAP sends the account password and group changes across the network in plain text.
NOTE: If you omit the protocol and port, Apono uses
ldaps://and port 636.RDP Port
Port requesters use to connect to the Windows server
Default: 3389
This value appears in the access details provided to requesters. Apono does not connect to this port.
Computers Scope
Apono discovers enabled computer objects in this organizational unit and its child organizational units, excluding domain controllers.
Active Directory does not distinguish servers from workstations, so the organizational unit determines which computers Apono discovers.
NOTE: You can enter a distinguished name relative to your domain, such as
OU=Servers,OU=CORP, or as the full distinguished name, such asOU=Servers,OU=CORP,DC=corp,DC=example,DC=com.Groups Scope
(Optional) Groups container DN where Apono creates and manages the groups used to grant access
If you leave this setting empty, Apono uses the default Active Directory Users container,
CN=Users.IMPORTANT: For AWS Managed Microsoft AD, specify a writable container because the default
CN=Userscontainer cannot be written to.You can enter a distinguished name relative to your domain, such as
OU=AponoGroups,OU=CORP, or as the full distinguished name, such asOU=AponoGroups,OU=CORP,DC=corp,DC=example,DC=com.User Email Attribute
(Optional) Active Directory attribute used to match a user to an Apono email address.
Default: userPrincipalName
Specify another attribute, such as
mail, if your organization stores work email addresses in a different attribute.Self-signed Server or CA Certificate
(Optional) Base64-encoded PEM CA certificate identified in the Prerequisites
IMPORTANT: Required when the domain controller's LDAPS certificate was not issued by a public certificate authority. Without this certificate, the connector cannot validate the domain controller and the connection fails.
Click Next. The Secret Store section expands.
Click Next. The Get more with Apono section expands.
Define the Get more with Apono settings.
SettingDescriptionCustom Access Details
(Optional) Instructions explaining how to access this integration's resources Upon accessing an integration, a message with these instructions will be displayed to end users in the User Portal. The message may include up to 400 characters. To view the message as it appears to end users, click Preview.
Integration Owner
(Optional) Fallback approver if no resource owner is found Follow these steps to define one or several integration owners:
From the Attribute dropdown menu, select User or Group under the relevant identity provider (IdP) platform.
From the Value dropdown menu, select one or multiple users or groups.
NOTE: When Resource Owner is defined, an Integration Owner must be defined.
Resource Owner
(Optional) Group or role responsible for managing access approvals or rejections for the resource Follow these steps to define one or several resource owners:
Enter a Key name. This value is the name of the tag created in your cloud environment.
From the Attribute dropdown menu, select an attribute under the IdP platform to which the key name is associated. Apono will use the value associated with the key (tag) to identify the resource owner. When you update the membership of the group or role in your IdP platform, this change is also reflected in Apono.
NOTE: When this setting is defined, an Integration Owner must also be defined.
(Recommended) Click Test Integration to validate the integration.
Test Integration does not validate the Group Policy Object (GPO) or confirm that requesters can connect to Windows servers. Verify that the Apono Group Policy Object (GPO) is correctly linked to the Servers OU before granting access.
Click Confirm.
Usage
resources in an access flow. This allows requesters to access your Windows servers securely based on your approval and provisioning rules.
If a server has been deleted but Apono has not yet discovered the deletion, access requests for that server do not fail. The associated domain groups remain visible to users and must be deleted manually by an administrator.
Follow the guidance in these articles to define the resource using Windows Domain Servers:
Troubleshooting
Last updated
Was this helpful?

