Search Results :


Create Users in LDAP Server

Drupal LDAP/ Active Directory Login module allows you to create a user automatically in your LDAP/ Active Directory server when a user is created in a Drupal site. Our module is compatible with all Drupal 7,8,9 and Drupal 10. In addition to that, you can also map the user’s information from Drupal to user attributes in your LDAP/ Active Directory server.


Enable the creation of drupal users in the LDAP server

  • Head over to the Directory Sync tab of the module.
  • Drupal LDAP and Active Directory
  • Enable the “Create users in Active Directory/LDAP Server when a user is created in Drupal” checkbox.
  • Enter the “LDAP Attribute for User base DN” value default it is cn for the Active directory and uid for the OpenLDAP server. This value will decide the Distinguished Name (DN) of the newly created user in your LDAP server.
  • Click on the Save Configuration button present at the bottom.
  • Now your user will be created in the LDAP server when the user is created on the Drupal site. ( by admin or by user registration or by any third-party modules )

Create the user in Drupal

  • Head over to the People tab under the Manage section of Drupal.
  • Drupal LDAP and Active Directory people tab
  • Now click on + Add User button to create a user in Drupal.
  • Drupal LDAP and Active Directory - add user
  • Fill in the info of the user and click create a new account.
  • Drupal LDAP and Active Directory - create-password
  • Congratulations you have successfully created the user in Drupal as well as in your configured LDAP server. If you face any issues you can check the logs under Reports>>Recent logs section.
  • Now confirm once whether or not the user is created in your LDAP server. If you don't have access to your LDAP server don't worry you can still check it by following the below steps.

Test user Authentication

  • Head over to the LDAP Configuration tab of the module.
  • Drupal LDAP and Active Directory ldap configuration
  • Scroll till the end, you will see Test Authentication. Please enter the username and password of the user that you just created. Please note that the username is the value that will be searched by your configured search filter. If your search filter is “(&(objectClass=*)(mail=?))” then your username is the email of the user.
  • Drupal LDAP Login and Active Directory test authentication
  • Click on Test Configuration. You will see the success message on the screen.
  • Now click on Get Your Attributes to see all the LDAP attributes of the user as shown below.
  • Drupal LDAP Login and Active Directory test attribute
  • If you want to set the sn, givenname,cn, and displaynamedisplayname you can do it from the Attribute mapping feature.

If you want any assistance configuring the module or want to try the fully featured 7-days trial version of the module feel free to reach out to us 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