Map LDAP attributes to Drupal fields

Map LDAP attributes to Drupal fields


    Basic attribute mapping allows you to map your LDAP mail attribute in which you get your user's email address.


  • In the Configuration LDAP, select the Attribute & Role mapping tab.
  • miniorange icon active directory integration LDAP integration
  • In the Email Attribute text field, please enter the LDAP attribute name containing your user’s email address.
  • ( Please note that it is a required field as your user will be checked in Drupal based on their email address.)


    miniorange icon active directory integration LDAP integration
  • You can check all the LDAP attributes with the corresponding values by clicking on the Get your Attributes button present at the bottom of the Attribute & Role mapping tab of the module.
  • miniorange icon active directory integration LDAP integration

Custom Attribute Mapping:

    Custom attribute mapping allows you to map all user attributes (existing or custom) in Drupal with the user

    information coming in from your LDAP server. To perform Custom attribute mapping, follow the below steps:


  • Click on Add Custom Attributes (+) plus button to perform more than one mapping.
  • Add the attribute name under the LDAP Server Attribute Name text field which you want to map with the corresponding Drupal Attribute Machine Name.
  • To see all the attributes received from your LDAP server click on the “Get your attributes” button. A popup window with all the attributes and their values will appear.
  • miniorange icon active directory integration LDAP integration
  • You can refer to the above LDAP attributes to map with the Drupal machine field name.
  • miniorange icon active directory integration LDAP integration
  • Click on the Save Configurations button to save your changes. Now please open an incognito window and log in the user with its LDAP credential, users drupal custom field value will be updated with LDAP values as per your attribute mapping configuration. You can see the below image.
  • miniorange icon active directory integration LDAP integration
  • If you want you can also check the mapped value from here.

Creating custom Drupal fields:

  • Navigate to the Configuration tab. Under the People section, select Account Settings.
  • miniorange icon active directory integration LDAP integration
  • Now, go to the Manage fields Tab and click + Add field button.
  • miniorange icon active directory integration LDAP integration
  • In Add a new field dropdown, select the field type. Then, the Label text field will appear. Enter your field name in that text field.
  • Click on Save & continue button.
  • miniorange icon active directory integration LDAP integration
  • Under the Field settings tab. Specify the maximum length of the field in the Maximum length text field.
  • Also, select the number of values from the Allowed number of values dropdown.
    • Limited: Define the number of values in the text fiel.
    • Unlimited: No limit for the number of values in the text field.
  • Click on the Save field settings button to continue.
  • miniorange icon active directory integration LDAP integration
  • Under Edit Settings, scroll down and click on the Save settings button.
  • miniorange icon active directory integration LDAP integration
  • You can use this Machine name generated here i.e field_first_name, in the Drupal attribute Machine name at the time of custom attribute mapping.

Check Mapped Attributes:

  • Navigate to the People tab.
  • Under the List section, click on the edit button.
  • Scroll down to see the user’s custom fields value that you mapped with the LDAP attributes.
  • miniorange icon active directory integration LDAP integration
  • Congratulations, you have successfully configured Attribute mapping in Drupal LDAP.

If you want any assistance to configure the module or want to try the fully featured 7-days trial version of the module feel free to reach out to us at drupalsupport@xecurify.com

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