Active Directory Authentication

PCoIP Management Console Active Directory (AD) authentication uses Lightweight Directory Access Protocol (LDAP) or Secure Lightweight Directory Access Protocol (LDAPS) with Active Directory servers for user authentication. LDAPS is recommended to give you a more secure environment, through the use of an Active Directory Certificate, which should be available before activating the Active Directory configuration.

Caution: LDAP or LDAPS

LDAPS is the secure version of LDAP and is recommended for production environments and requires installation of the Active Directory Certificate.

AD Configuration Tab
Active Directory Configuration tab

Important Notes

This release of Active Directory in PCoIP Management Console has important limitations which need to be considered before using this feature in your deployment.

  • The MC's AD authentication only works for the same domain as the Domain Controller you have configured in the Management Console's SETTINGS > AUTHENTICATION > ACTIVE DIRECTORY CONFIGURATION tab

  • Only supports on-premises Active Directory

  • Only supports one active domain at a time

  • Supports UPN login

  • Only supports uploading one Active Directory Certificate to the certificate store

    Upload the Root Certificate

    Upload the Root Certificate from the CA that issued the Domain Controller's certificate

  • Configurations for parent groups do not transfer to child groups. Ensure the child group is configured as required.

  • Does not support domain trust relationships

Active Directory Users

All Active Directory users have a default timezone of UTC which can be modified by a Management Console System Administrator after the user has logged in the first time.

Installing an Active Directory Certificate

LDAPS requires a Base64 encoded certificate in .pem or .cer format to be uploaded to the certificate store. The LDAPS certificate should be downloaded from the same Active Directory that will be used for authentication. This can be done before or after enabling Active Directory.

To install your Active Directory Certificate:

  1. Browse to SETTINGS > SECURITY and select the ADD CERTIFICATES tab.

  2. Select the UPLOAD CERTIFICATE button.

  3. Use the SELECT CERTIFICATE button and browse to where your Active Directory Certificate is located, highlight it and select the Open button.

  4. Select the UPLOAD button and then OK in the Active Directory Certificate Details dialog.

  5. Access the PCoIP Management Console virtual machine console, (see Accessing the PCoIP Management Console Virtual Machine Console) and run the import script located in /opt/teradici/scripts directory.

To run the script ensure you include the full path to the script and that you type the name of the correct AD uploaded certificate.

sudo /opt/teradici/scripts/ /opt/teradici/console/certs/adcerts/< certificate_name >

Tip: Dialog Information

After selecting the certificate the dialog contains additional information that is useful for managing your certificate from the virtual machine console.

Viewing your Active Directory Certificate

You can view the Active Directory Certificate by viewing the ACTIVE DIRECTORY CERTIFICATES tab located on the SECURITY settings page.

AD Add Certs
Active Directory Certificates tab

Removing your Active Directory Certificate

Removing your Active Directory Certificate requires you to login to the PCoIP Management Console virtual machine console, see Accessing the PCoIP Management Console Virtual Machine Console to run the removal script located in the /opt/teradici/scripts directory.

Once logged in to the virtual machine console, browse to the opt/teradici/scripts directory and enter ./

Creating and Enabling Active Directory Configuration

The optional Root DN field, allows you to limit where the Management Console search begings in Active Directory. The entries must be in the correct format and order. The format would be similar to CN=teradici,DC=com

To create and enable an Active Directory configuration:

  1. Log in to PCoIP Management Console


  3. Select the NEW button.

  4. Select your preferred protocol LDAP or LDAPS.

  5. Enter the Host Name / IP Address of your Active Directory Server and any specific port that you want to use.

  6. Enter the Domain Name that the Active Directory Server manages.

  7. Enter the Root Domain Name (optional).

  8. Save your configuration.

  9. Return to the ACTIVE DIRECTORY CONFIGURATION tab and Click Enable to enable the connection.
    (The PCoIP Management Console will reboot.)

  10. Login to MC and browse to SETTINGS > AUTHENTICATION and select the ACTIVE DIRECTORY CONFIGURATION tab and enable your desired Active Directory configuration.

Tip: If PCoIP Management Console does not restart

If your PCoIP Management Console does not restart using the PCoIP Management Console GUI, you can issue the following command from the PCoIP Management Console virtual machine console: sudo service mcconsole restart

Adding Active Directory Groups

Adding Active Directory groups require that you have already enabled and configured Active Directory on the PCoIP Management Console. When adding Active Directory groups to PCoIP Management Console, ensure the added group has the identical name as the group in Active Directory and the Managing Users has been assigned to the group for PCoIP Management Console use.

AD Group
Active Directory Group tab

To add or edit an active directory group:


  2. Select the ADD button.

  3. Enter the required information.

    • Group: enter the group name or perform a group query (e.g. CN=MC_USERS_GROUP,CN=Users,DC=ZoDomain,DC=local). Error messages for incorrect query strings will be presented that help guide the user using this method. Valid attributes are DC, CN, OU, O, STREET, L, ST, C, UID.

      Multiple Groups

      • The Active Directory Group cannot be nested under any other group.
      • If the name of the user is in multiple groups, the user in the first matching group is used.
      • If a user is removed from that Active Directory group, then the next listed group will be used.
    • Domain: select the domain from the drop down where the Active Directory group resides

    • Role: This will be the PCoIP Management Console role given to the user for use when logging into the PCoIP Management Console. User roles can be changed at any time from the Authentication page. See Managing Users for further information on Users and User Roles.

  4. Select the SAVE button.