Importing Users from Active Directory

Key Manager Plus integrates with Active Directory (AD) in your environment, allowing you to import users directly from AD. This integration also lets users log in to Key Manager Plus using their AD domain credentials.

To begin the integration, navigate to Settings >> User Management >> Active Directory. This opens the Active Directory configuration page.

This document covers the following topics in detail:

1. Importing Users

The first step in this process is to configure the credentials and import users from Active Directory. Key Manager Plus automatically detects the list of domains available under the Microsoft Windows Network folder on the server where Key Manager Plus is installed. You can then select the desired domain from this list and enter the necessary domain controller credentials to proceed with the user import.

Follow the below steps to import users:

  1. Navigate to Settings >> User Management >> Active Directory.
  2. Select the required Domain Name from the dropdown.
  3. Specify the DNS name of the Primary Domain Controller.
  4. If you have secondary domain controllers, specify their DNS names in comma-separated form. If the primary domain controller is unavailable, one of the secondary domain controllers is used. When using SSL mode, ensure the DNS name specified here matches the Common Name (CN) specified in the SSL certificate of the domain controller.
  5. Specify whether the connection should be established over an encrypted channel. To enable SSL mode, ensure the domain controller is configured to serve over SSL on port 636, and import the domain controller's root certificate into the Key Manager Plus server machine's certificate store.
  6. Enter a valid credentials (User Name and Password) with read permissions on the domain controller. If you intend to import users from multiple domains, format the username as <DomainName>\<username>. For example, to import users from DOMAIN A using credentials from DOMAIN B, the username should be entered as DOMAIN B\username.
    import-users-from-ad-1
  7. Select Import AD User Certificate(s) to automatically discover and import SSL certificates belonging to the AD users being imported into the Key Manager Plus certificate repository.
  8. Enter the users, user groups, or OUs to import as comma-separated values and click Import. To import user groups or OUs directly, choose the Groups/OU Tree import type and select the required groups or OUs from the list.
  9. Enable Active Directory Sync to configure a synchronization schedule with the provided details and keep the user database up to date. Explore this link for detailed steps to perform Active Directory synchronization.
  10. Click Import to import users from the selected domain.

Additional Details

  • By default, Key Manager Plus retrieves all OUs and user groups from AD.
  • If the number of groups or OUs in the domain controller exceeds 2,500, Key Manager Plus does not display them in the interface. In this case, specify the exact groups or OUs to be imported instead of retrieving the full list.
  • To import only specific users, enter their usernames as a comma-separated list.
  • To import only specific user groups or OUs, specify their names in the respective fields.
  • During subsequent imports, only new AD entries are added to the local database.
  • When importing OUs or AD groups, corresponding user groups are automatically created using the names of the respective OUs or AD groups.

1.1 Importing the Domain Controller's Certificate into Key Manager Plus

If the domain controller's certificate is not signed by a trusted CA, import it manually into the Key Manager Plus server machine's certificate store, along with all certificates in the root certificate chain, including the Key Manager Plus server machine's certificate and any intermediate certificates. You can use any procedure that you normally use to import the SSL certificates to the machine's certificate store. One example is given below:

  1. Navigate to Control Panel >> Network and Internet >> Internet Options on the machine where Key Manager Plus is installed.
  2. In the dialog box that opens, click the Content tab, followed by Certificates.
  3. Click Import, browse to locate the root certificate issued by your CA, and install it using the option Automatically select the certificate store based on the type of certificate.
  4. Repeat the import process for the domain controller certificate, following the same steps as above.
  5. After importing all required certificates in the root chain, apply the changes and close the wizard.

2. Configuring Active Directory Synchronization

Enable Active Directory synchronization while importing users to keep the user database in Key Manager Plus updated. You can configure recurring synchronization schedules for one or more AD domains to import users from the specified user groups or OUs across multiple domains. Once the synchronization schedule is configured, any new users added to the configured AD domains will be automatically imported into Key Manager Plus during the next scheduled synchronization. To enable AD user synchronization, follow these steps:

To synchronize an entire domain's user database, follow the steps below:

  1. Enter the domain details and credentials.
  2. Select the Enable Active Directory Sync checkbox.
  3. Choose a Recurrence Type: Daily, Weekly, or Monthly.
  4. Enter a Start Time and Start Date for the schedule.
    import-users-from-ad-2
  5. Click Import to start the import immediately and create the sync schedule. If you click Save instead, all the domain and schedule details will be saved but the user import will not begin until you click Import.

To create a sync schedule for specific user groups or OUs, follow the steps below:

  1. Enter the domain details and credentials, and under Import Type, select Groups/OU Tree.
  2. In the window that opens, choose Groups or Organizational Units and select the required user groups using the checkboxes provided.
  3. Select the Enable Active Directory Sync checkbox.
  4. Choose a Recurrence Type, and enter a Start Time and Start Date.
    import-users-from-ad-3
  5. Click Import to start the import immediately and create the schedule for the selected groups. If you click Save instead, all the domain and schedule details will be saved but the user import will not begin until you click Import.

To view or manage a sync schedule, click the calendar icon at the top-right corner of the Active Directory page. From here, you can enable, disable, or delete existing schedules. Disabling a schedule stops synchronization temporarily without removing its details, it resumes when enabled again.
import-users-from-ad-4

Additional Details

  • Only one schedule can exist for a given AD domain. Within that domain, you can import users from any number of groups or OUs. Creating a new schedule for a domain that already has one overwrites the existing schedule.
  • If a user is deleted in the AD domain after being imported into Key Manager Plus, the user is shown as locked in Key Manager Plus. Remove the user manually from the Key Manager Plus user list if needed.
  • An audit log entry is created each time a sync schedule runs, and each new user added during the schedule is tracked in the Audit tab.

3. Assigning Roles to Imported Users

All users imported from AD are assigned the Operator role by default. To assign a different role or to assign SSH user accounts or SSL certificates to an imported user, refer to Modify User Details. To remove an imported user, refer to Delete a User.

Additional Detail

Key Manager Plus supports both AD and local authentication for AD-imported users. Users can choose either option directly from the login screen.




Top