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.
- Install the Drupal LDAP / Active
Directory Integration module.
- Set up the above module with your LDAP or Active Directory server. You can also refer to this setup guide for assistance.
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:
- User can log in using both their Drupal or LDAP
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.
- 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.
- 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 firstname.lastname@example.org.
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 email@example.com.