Availability
The Active Directory connector supports Windows and Linux.Capabilities
| Resource | Sync | Provision |
|---|---|---|
| Accounts | ||
| Groups |
Integrate your Active Directory domain
This process uses the Active Directory connector, hosted and run in your own environment. Contact ConductorOne’s support team to download the latest version of the connector. Oncebaton-active-directory is installed and the integration is set up, Baton runs as a service in your environment. The service maintains contact with ConductorOne, syncs and uploads data at regular intervals, and passes that data to the ConductorOne UI, where you and your colleagues can use it to run access reviews and manage access requests for the application.
Requirements
- A Windows server to host
baton-active-directoryThis server needs minimum requirements to run in most environment. It doesn’t need a dedicated server- Two to four core vCPU
- Four to eight gigabytes of RAM
- Windows minimum required storage
- Outbound network connectivity to port
443to your ConductorOne tenant - An Active Directory service account
- For syncing only, the AD account needs read access only
- For access provisioning, the account needs permissions to modify group membership
- The Connector Administrator or Super Administrator role in ConductorOne
1
In ConductorOne, navigate to Admin > Connectors and click Add connector.
2
Search for Baton and click Add.
3
Choose how to set up the new Baton connector:
- Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with ConductorOne)
- Add the connector to a managed app (select from the list of existing managed apps)
- Create a new managed app
4
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of ConductorOne users. Setting multiple owners is allowed.
If you choose someone else, ConductorOne will notify the new connector owner by email that their help is needed to complete the setup process.
5
Click Next.
6
Find the Settings section of the page and click Edit.
7
Click on Rotate to generate a new
client-id and a client-secret for the connector. Make sure you copy both as the client-secret will not be visible once you click Ok.8
Click Ok
9
Next to the
Not Connected label, click on the word Baton. This will take you to the application page.- Click on pencil icon next at the top of the page to update the application name and type
Active Directory - This will update the application name and the connector name, and the application icon will also resemble Active Directory once connected.
Configure the baton-active-directory
Step 1: Create an Active Directory service account
The Active Directory Connector needs a service accounts to connect to Active Directory. The account needs read permissions to AD and Logon As a Service rights. The latter can be configured via GPO, or if using a privileged account to setup the connector, that step will happen automatically.Entitlement provisioning permissions
For entitlement provisioning support, the service account needs to have delegated rights on your AD forest to manage groups membership1
Open ADUC or run the command
dsa.msc from the command line2
Right click on your forest root, or if you only want to provision into groups in a particular OU right click on that OU
3
Select Delegate Control
4
Add the service account running the
baton-active-directory service5
From the Task to Delegate check the box for
Modify the membership of a group6
Click Next, then Finish
- Administrators
- Domain Admins
- Enterprise Admins
- Schema Admins
1
For each group you want the service account to Control:
1
Right Click on the group
2
Click on the Security tab
3
Click Advanced
4
Click Add
5
Click on Select a principal, and choose the
baton-active-directory service account6
Grant the account
Write Members permissions2
Run the following powershell script from a domain controller with a domain admin credential to ensure AdminSDHolder doesn’t remove the permission after 60 minutes:
Account provisioning permissions
1
Open ADUC or run the command
dsa.msc from the command line2
Right click on your forest root, or if you only want to provision accounts in a particular OU right click on that OU
3
Select Delegate Control
4
Add the service account running the
baton-active-directory service5
From the Task to Delegate check the box for
Create, delete, and manager user accounts6
Click Next, then Finish
Step 2: Install baton-active-directory
Connector modes
The Active Directory connector can be run in either LDAP mode (default) or WinLDAP mode. Both modes can sync and provision the same resources, but WinLDAP mode supports additional authentication methods. LDAP mode uses a Golang LDAP library to connect to the Active Directory server. WinLDAP mode uses Windows system calls. If LDAP mode does not connect (usually because your AD server requires more secure authentication methods), then try running the connector with--mode=winldap.
1
Contact ConductorOne’s support team to download the latest version of the connector.
2
On the host designated to run the connector, create a folder in
C:\Program Files called ConductorOne3
Extract the
baton-active-directory.exe from the zip archive, and copy it to the ConductorOne folder4
Install and set up the connector by running:
baton-active-directory --help to see the list of flags to be used when passing your credentials to the connector.
The config file is written to C:\ProgramData\ConductorOne\baton-active-directory\config.yaml, and is formed like the following:
C:\ProgramData\ConductorOne\baton-active-directory\baton.log.
1
Grant the service account
Modify folder permissions to C:\ProgramData\ConductorOne so it can write to the baton.log file- failing to do step 5 will result in a service start error
2
Launch the Services console and locate the service named
baton-active-directory1
Double click to open properties
2
Change the Startup type to
Automatic3
Navigate to the
Log On tab and click on This account4
Click
Browse and type your service account name (samAccountName) in the input field5
Click
Check Names, and ensure it validated the right account. If you’re presented with an account selection screen, carefully choose the account you created in the previous steps6
Enter the service account’s password and confirm it.
7
Click Apply
8
Navigate back to the
General Tab, and click Start to start the baton-active-directory serviceStep 3: Manage the baton-active-directory Windows service
1
Once you have provided this information, a new Windows service named
baton-active-directory will be created in the Stopped state. You can now use the .\baton-active-directory command to manage the service.- To start the service, run
.\baton-active-directory start. - To stop the service, run
.\baton-active-directory stop. - To check the status of the service, run
.\baton-active-directory status. - To remove the service, run
.\baton-active-directory remove.
2
The connector syncs current data, uploads it to ConductorOne, and prints a
Task complete! message when finished.3
Check that the connector data uploaded correctly. In ConductorOne, click Applications. On the Managed apps tab, locate and click the name of the application you added the Active Directory connector to. Active Directory data should be found on the Entitlements and Accounts tabs.