How to Install Drupal LDAP / Active Directory Integration module

Using Composer

Prerequisite: Composer must be installed on the local machine, and the Drupal site must be managed using Composer.

  • From the project page of the miniOrange Drupal LDAP/Active Directory Integration module, copy the composer command under Releases or copy the below command to download the latest version:
    composer requires drupal/ldap_auth
  • Open the command prompt window/ terminal in the Drupal site’s root directory and run the command.
  • Sign in to the Drupal website as an administrator, and then click on Extend in the top administrative menu.
  • Search for Active Directory / LDAP Login Integration using the search box.
  • Enable the module by checking the checkbox and clicking on the Install button.
  • You can configure the module at {BaseURL}/admin/config/people/ldap_auth/ldap_config

Using Drush

  • Download the module:
    drush dl ldap_auth
  • Install the module:
    drush en ldap_auth
  • Clear the cache:
    drush cr
  • You can configure the module at {BaseURL}/admin/config/people/ldap_auth/ldap_config

Manual Installation (This option is only available in Drupal 10 and below)

Prerequisite: The core Update Manager module must be installed.

  • From the project page of the miniOrange Drupal LDAP/Active Directory Integration module, scroll to the Releases section.
  • Click on the version number of the module, and download either a zip or tar.gz file of the module.
  • Sign in to your Drupal website as an administrator, and then click on Extend in the top administrative menu.
  • Click the Add new module button. In the field Upload a module or theme archive, upload the zip/tar.gz file downloaded in step 2, and click the Continue button to upload and unpack the module.
  • Click on Enable newly added modules to return to the Extend Page.
  • In the module list, search for the Active Directory / LDAP Login Integration module, select its checkbox, and click on the Install button at the bottom to enable the module.
  • You can configure the module at {BaseURL}/admin/config/people/ldap_auth/ldap_config