Configure Drupal login using LDAP / Active Directory


Drupal LDAP Login module allows your LDAP / Window Active Directory users to login to Drupal using their LDAP / Active Directory ( AD ) credentials. In addition to LDAP, this module also allows you to login using NTLM and Kerberos. We provide Drupal LDAP/AD SSO login module which is compatible with Drupal 7, Drupal 8, and as well as Drupal 9.
It allows users to authenticate against various LDAP implementations like Microsoft Active Directory, OpenLDAP, OpenDS, FreeIPA, Synology, and other directory systems as well as perform authentication using NTLM and Kerberos.

If you have any doubts or queries, you can contact us at  drupalsupport@xecurify.com. We will help you to configure the module. If you want, we can also schedule an online meeting to help you configure the Drupal LDAP / Active Directory integration SSO login module.


Pre-requisite: Download and Installation 


  • For Window:
    composer require drupal/ldap_auth
  • For Linux:
    composer require 'drupal/ldap_auth'
  • Go to Extend menu on your Drupal admin console and enable the module by checking the checkbox and click on Install button.
  • Configure the module at
    {BaseURL}/admin/config/people/ldap_auth/ldap_config
  • Download the module:
    drush dl ldap_auth
  • Install the module:
    drush en ldap_auth
  • Clear the cache:
     drush cr
  • Configure the module at
    {BaseURL}/admin/config/people/ldap_auth/ldap_config
  • Navigate to Extend menu on your Drupal admin console and click on Install new module.
  • Install the Drupal miniOrange LDAP/Active Directory Integration - NTLM & Kerberos login module either by downloading the zip or from the URL of the package (tar/zip).
  • Click on Enable newly added modules.
  • Enable this module by checking the checkbox and click on Install button.
  • Configure the module at
    {BaseURL}/admin/config/people/ldap_auth/ldap_config

Setup Video for configuring LDAP/AD SSO Authentication with Drupal

You can follow the steps in the video or documentation below to configure LDAP and Active Directory SSO Login with Drupal:

Steps to configure Drupal LDAP / Active Directory login module

  • Once you have enabled the module, go to the configuration and select Drupal Active Directory Integration / LDAP Integration - NTLM & Kerberos login configuration as shown in the below image:
  • Drupal LDAP and Active Directory Login module Click on the Configuration
  • Enter your AD Server URl and click on the Contact LDAP Server to test your connection with your LDAP server.
  • Drupal LDAP and Active Directory Connection Information Click on Contact LDAP Server
  • Then, enter the Bind Account DN and Bind Account Password for your AD server and click on Test Connection to test the whether you are able to bind to your AD server.
  • Drupal LDAP and Active Directory - Enter Bind Account DN and Bind Account Password
  • In the next screen that you see, select the Search Base(s) and the Search Filter/Username Attribute with which your users will be searched while logging in.
    • 1. Search Base: This is the LDAP hierarchy under which your users will be searched.

      2. Search Filter/Username Attribute: While logging in Drupal, your users will be searched by this attribute in your AD.

      3. Click on the Next button to go to the next step.

    Drupal LDAP and Active Directory SSO login module Search Base and Username Attribute
  • Click on check box to Enable Login using LDAP and Auto creating of users in Drupal if not present.
  • Click on Save & Next button.
  • Drupal LDAP Login and Active Directory SSO Enable Login with LDAP
  • Congratulations, you have successfully configured the LDAP module. Now please test the LDAP user present in selected search base by entering the username and password of the user.
  • Click on Test Authentication and you will get all the Attributes of the user.
  • Drupal LDAP Login and Active Directory SSO - Test Authentication
  • Now, please select the attribute name from the dropdown in which you will get your ldap user's email address and click on Save & Next button.
  • Drupal LDAP Login and Active Directory SSO Received Attribute
  • You have successfully configured the module. Now your users can login to your Drupal website using their LDAP credentials.
  • Also, if you want to enable NTLM or Kerberos login, please go to the Signin Settings tab and select the below-highlighted checkbox and click on the Save button to save your Configurations:
  • Drupal LDAP Login and Active Directory SSO Enable the NTLM and Kerberos Login

24*7 Active Support:

If you have any questions regarding the guide or in case you are facing any issues configuring the module, please feel free to reach out to us at drupalsupport@xecurify.com or through the Support block on each of the tabs.

In case you want some additional features to be included in the module, please get in touch with us, and we can get that custom-made for you. Also, If you want, we can also schedule an online meeting to help you configure the Drupal Microsoft Active Directory/LDAP SSO login integration module.
If you don't find what you are looking for, please contact us at info@xecurify.com or call us at +1 978 658 9387.

Additional Resources:

Our Other modules:

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com