Configure Active DirectoryΒΆ

If you would like to use ActiveDirectory for authentication, follow these steps. If you are not using ActiveDirectory, you can skip to the next section.

  1. In the main deployment directory, open the Web.config file.

  2. Ensure the following line is uncommented:

    <bindings configSource="Config\Bindings.WindowsAuth.config"/>
    
  3. Ensure the following is commented out:

    <!-- <bindings configSource="Config\Bindings.UsernameAuth.config"/> -->
    

Note

In XML, comments look <!-- like this -->.

  1. Open the RepositoryDir\Config\Repository.Settings.config file.

  2. To authorize ActiveDirectory users or groups to have the ColecticaAdministrator role, add elements in the following area:

    <setting name="ColecticaAdministratorRoles" serializeAs="Xml">
      <value>
        <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:xsd="http://www.w3.org/2001/XMLSchema">
          <string>ColecticaAdministrator</string>
          <string>JohnDoe</string>
          <string>domain\Administrators</string>
        </ArrayOfString>
      </value>
    </setting>
    

    Add or remove the <string>...</string> lines as appropriate. Contents inside the <string> element can be either an Active Directory user name or group name.

  3. To authorize Active Directory users or groups to have the ColecticaUser role, follow the above instructions, but look for the following element:

    <setting name="ColecticaUserRoles" serializeAs="Xml">
    
  4. To authorize Active Directory users or groups to have the ColecticaGuest role, follow the above instructions, but look for the following element:

    <setting name="ColecticaGuestRoles" serializeAs="Xml">