Setting Up Active Directory Authentication for Evoq

Overview

This article provides the process to set up the Active Directory authentication module as a DNN module. 

 

Prerequisites

 

Solution

NOTE: The DNN Active Directory Authentication module will only authenticate multiple domain names if each domain is trusted; this could be one or two-way trusted domains.

  1. Navigate to Persona Bar Settings > Extensions.

    2019-05-09_8-34-33.png

  1. Go to Available Extensions > Authentication Systems. Install the DNNPro_ActiveDirectoryAuthentication extension.

    2019-05-09_8-35-43.png

  1. Go to Settings > Extensions > Installed Extensions > Authentication Systems.

  2. Click the Edit (pencil) icon at far right of the DNNPro_ActiveDirectoryAuthentication module.

    2019-05-09_8-36-13.png

  1. Go to the Site Settings tab and set the following fields:
    • Enabled? - Check the box.
    • Hide Login Controls – Will hide the Windows Login tab from the Login screen. This can be useful if you find your users are confused as to which option they should choose or if you’ve provided a direct link to <DNN_INSTALL>/DesktopModules/AuthenticationServices/ActiveDirectory/WindowsSignin.aspx elsewhere on your site for Intranet users.
    • Synchronize Roles? - Check the box.
    • Do Not Automatically Create Users? - Active Directory users will not be able to log into the portal until their accounts have been manually created.
    • Provider - Use the default option: DNNPRO_ADSIAuthenticationProvider
    • Authentication Type - Use the default option: Delegation.
    • Root Domain - DC=[YOURDOMAIN]
    • User Name - [YOURDOMAIN]\[Domain Controller Admin login username]
    • Password and Confirm Password - Enter the valid password for the Domain Controller Admin login username.
    • Email Domain - @domain.local
    • Default Domain - domain.local
    • Auto-login IP Address – If left blank then the provider will try to auto-login all visitors to the site. However, if you know the range of IP addresses or specific IP addresses that you want to be automatically logged in you can enter them here. Multiple IP address, ranges, etc. can be used as long as they are separated by a semi-colon (;). An example string would be “192.168.1.100 – 192.168.1.200; 192.168.1.1;” 192.168.1.100 – 192.168.1.200 – Any IP addresses including and between 192.168.1.100 and 192.168.1.200 will be automatically logged in. 192.168.1.1 – Only the computer with that IP address will be automatically logged in. 

      2019-05-09_8-36-42.png

  1. Click the Update Authentication Settings button.

  2. A green box will appear at the top, showing if the provided settings are correct or not.

  3. Open a Command Prompt window as Administrator:

    2019-05-09_8-37-12.png

    Execute each of the lines below:

    • %windir%\system32\inetsrv\appcmd unlock config /section:anonymousAuthentication
    • %windir%\system32\inetsrv\appcmd unlock config /section:windowsAuthentication

 

If you are still not able to authenticate against the Active Directory Provider:

  • Check the version of the Active Directory Module. Ensure that the module is Active Directory Pro. If on a lower version, find the module package and upgrade it to the latest version.
  • Is the server where the website is hosted already joined on the domain? We always suggest the server joins the domain.
  • Make sure to set the IIS app pool's user to "network services."
  • In the AD auth config page, if all the info input is correct, please change the "authentication type" value to the other options and test the connection.
  • Check if Windows Authentication has been installed on the server.
  • You can run the ADExplorer tool on the server to connect to the domain. If ADExplorer can connect correctly, then DNN should able to connect as well. Otherwise, you can use the tool to identify the problem.

 


 

Testing

By default, auto-login (Integrated Windows Authentication) is already enabled on most browsers. To test that Active Directory is set up correctly:

  • If Auto-login is enabled in the AD Authentication Provider: As soon as hitting the site, the user is logged in as the Domain user logged into the physical machine or Virtual Machine.

 

Back to top

Comments

0 comments

Please sign in to leave a comment.