In order for you to install and configure Sitecore 8.2 with Active Directory module follow below steps. (Note this is for SC 8.2 and AD 1.3 but most of the steps can be followed for some older versions as well with modified AD module version) You can find Sitecore Modules Compatibility Table for Sitecore XP for your respective AD module and SC version.

  • Download Active Directory Module: Download Active Directory Module from Sitecore SDN AD 1.3.
  • Package you will get from above url is attached here 
  • Install Active Directory Module: You need to have Sitecore Admin user and using the development tools –> Installation Wizard you need to perform the package install. After package installation, you have to modify few configuration files to complete the installation. In the site’s /App_Config/connectionstrings.config file, add a connection string to the  section. For example:

    Refer

    sitecore-active-directory-and-cautions

         for special remarks.
  • Configuring the Membership Provider: Open the web.config file, search for the  element in the  section and paste the following definition inside it (the order is not important).

    In above lines, replace connectionUsername and connectionPassword. To connect to the Active Directory domain, you should specify a user who has sufficient rights to perform the necessary operations. The provider uses these credentials when it connects to the AD domain.

  • Configuring the Role Provider: Open the web.config file, search for the  element in the  section and paste the following definition inside it (the order is not important).

    In above lines, replace connectionUsername and connectionPassword.

  • After completing above steps your line # 96 to 114 should look like below
  • Activating Switching Providers: To make the Sitecore aware of an extra source of users and roles, the switching mechanism must be activated. To activate the switching mechanism make below changes:
    • In web.config file, in  section, browse for  element and find the provider called sitecore and set its realProviderName attribute to switcher.
    • In web.config file, in  section, browse for  element and find the provider called sitecore and set its realProviderName attribute to switcher.
  • After all above configurations your web.config’s line 96 to 114 should look like below.
  • Adding a New Domain: Open the App_Config/Security/Domains.config.xml file and add the following line to the root element:
  • Adding the Domain-Provider Mappings: Open App_Config/sitecore.config file and in  section, browse to the  element.
    • Add the following line to the  group — the order is not important:
    • Add the following line to the  group — the order is not important:
  • Once you configure the above your App_Config/sitecore.config file line 1282 to 1295 should look like below
  • After you have configured the module, open Sitecore CMS, and log into the Sitecore Desktop as an administrator. Click Sitecore, Security Tools, Role Manager to open the Role Manager. You can see the roles from Active Directory along with the Sitecore CMS roles.
Advertisements