Search Results :


Login settings

Drupal LDAP Login Restriction

The Drupal LDAP/Active Directory Integration module allows you to integrate LDAP (Lightweight Directory Access Protocol) authentication into your Drupal website. LDAP is commonly used in organizations to manage user access and credentials. With the Drupal LDAP integration module, you can configure various login restrictions for your Drupal website, providing flexibility and security for both users and administrators. In this guide, we will see how to control users logging in to your website.


Within the LDAP configuration tab of the module, you'll find the Authentication Restriction options (admin/config/people/ldap_auth/ldap_config). In this guide, we will explore three common scenarios for login restriction:

Drupal LDAP/Active Directory Integration - Under LDAP configuration - Find the Authentication Restriction option
  1. User can log in using both their Drupal or LDAP credentials

    This option lets users choose if they want to log in with their LDAP or Drupal usernames and passwords. It's handy when your users are in both LDAP and Drupal.

  2. Users can only log in using their LDAP credentials and Drupal admin can log in using their local Drupal Credentials

    With this option, Drupal administrators can log in using either LDAP or Drupal credentials. Other users can only use LDAP credentials. This is helpful as a backup if your LDAP server has problems. It's also useful when your Drupal site managers aren't part of the LDAP group.

  3. Users can only log in using their LDAP credentials

    Selecting this option forces all users to log in using only their LDAP credentials. No one can use Drupal credentials. This is the most secure option when you want everyone to use LDAP.

LDAP Group Login restriction:

You can explore how to effectively manage Drupal user logins based on their current LDAP organizational units (OUs) and Groups. Discover how to control and customize user access by restricting or permitting logins based on LDAP groups and OU criteria. To know more contact us at


If you want a 7-day fully-featured trial or have any questions, or in case you need any sort of assistance in setting up the module according to your use case, please feel free to drop us an email at

Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to