Configure Microsoft Active Directory

As a System Administrator, you can configure Contrast to connect to a Microsoft Active Directory (AD). Use the AD connector to configure this integration. AD has a well-defined structure for directories, resulting in fewer possibilities and a more direct configuration.

Note

Switching to AD from a different authentication method such as a local database may result in issues if the user ID attribute is inconsistent.

To configure Microsoft Active Directory:

  1. Start by creating a user in the Active Directory Server that is a dedicated read-only user. The user should have read permission to the directory, including users with permission limited only to the Search Base. You will need this user to set the Search Base when configuring users for AD and when binding to user.

  2. Create user groups in the external AD server. You will later use these groups to assign SuperAdmin privileges in Contrast.

  3. Under system settings, select Authentication.

  4. Select Change authentication method and follow the steps to configure server, groups and advanced settings.

  5. Select Active Directory.

  6. Enter the following information. Some settings may be different for LDAP over SSL (LDAPS) as noted.

    AD.png

    Under Connect server:

    • Protocol: Enter the protocol that should be used to communicate with the LDAP server. Choose LDAP or LDAPS from the dropdown. The default is LDAP. Additional configuration may be needed for the LDAPS option if you are using a self-signed or privately-signed certificate with AD.

    • Hostname: Enter the hostname to connect to when communicating with the LDAP server; either the DNS hostname or IP address of the AD server. In multi-tenant forests, this should be the Global Catalog Server. The default is localhost".

    • Port: Enter the port to connect to when communicating with the LDAP server. For standard (single-tenant, single-domain) directories, this should be port 389 (LDAP) or 636 (LDAPS). In multi-tenant or multi-domain forests, this should be 3268 (LDAP) or 3269 (LDAPS).

    • Search base: Enter the base DN (a distinguished name that represents the global base level container for your AD environment) to use when communicating with the LDAP server. This is usually your domain or subdomain name. The default is dc=contrastsecurity,dc=com. If your login domain is yourdomain.com, your base DN would be dc=yourdomain,dc=com.

    Under Bind to server.

    • Username: Enter the full DN of the user who can bind to the directory to perform search functionality. The default is cn=Directory Manager.

    • Password: The password of the user account that the application should use when connecting to the LDAP server.

  7. Select Test connection to ensure connectivity to the server. Once connectivity is verified, select Next.

  8. Configure groups.

  9. Configure advanced settings.

  10. Once all of the configuration options are set, verify that you are able to log in as both a SuperAdmin and an Organization Administrator using the Test login button.

    Note

    If the test seems to take an excessive amount of time, it's likely a result of having the wrong setting for the Follow referrals option in Advanced settings. Once you switch the setting, you should be able to verify login functionality more quickly.

  11. Select Finish to complete the configuration.