The Drupal LDAP/Active Directory module comes equipped with a convenient auto-create user feature. This
feature enables the automatic creation of a user account within Drupal's backend when a user attempts to
log in using their LDAP credentials. This feature is very useful when your users are not present on your
Drupal site but present on the LDAP server.
- After the successful configuration of the module, head toward the LDAP Configuration tab of
the module (admin/config/people/ldap_auth/ldap_config).
- Select the Auto Register users if they do not exist in the Drupal checkbox to enable the automatic
creation of a user LDAP account in Drupal.
Note: This will create a new Drupal account only if they don't already have a Drupal
account. So no duplicate account will be created on the Drupal site.
- Save the configuration.
Congratulations, you have successfully enabled the auto-creation of the user on the Drupal site upon LDAP
We hope that you find this guide useful and easy to configure.