Configuration of ldapdata module

Last modified: February 12, 2007 - 20:38

This module allows mapping of LDAP user attributes to Drupal fields. It uses the profile module.

Configuration

  • Goto Administer >> Site configuration >> ldapdata
  • The active LDAP configuration are listed on the page. Select edit to configure LDAP attribute mapping
  • Drupal-LDAP fields mapping: Currently, the following attributes can be mapped between Drupal and LDAP
    • mail (E-mail address)
    • password (User Password)
    • signature (Signature line)

    The Drupal to LDAP mapping for these can be done in multiple ways

    1. Changes in account fields will be mapped to LDAP attributes and back: Checking this box will allow the Drupal users to modify the above attributes in Drupal and have it automatically updated in LDAP. This option requires a user account with read/write privileges to LDAP.
    2. Same, but read-only mode: Check this box if the users can view the LDAP information in the Drupal profile but not have the ability to change them
    3. No mapping: This option will clear any existing mappings that are present for this configuration

    Enter the attribute names that map to the specified drupal fields in the text boxes. Consult the LDAP Documentation and/or administrator for details on the attribute names

  • Drupal-LDAP fields mapping: In this section, configure which attributes are visible to in the My account section of the user and which attributes are modifiable by the user. In order to extend the attribute list that is appearing here, the configuration file modules/ldap_integration/ldapdata.conf.php can be modified.
  • Advanced configuration: In this section, enter the bind dn and bind password of an LDAP account that has read/write abilities to the user and group objects.
  • Click Save configuration to save this configuration.

All active ldap configurations can be configured to map ldap attributes to drupal fields The same configuration that was used to authenticate the user into Drupal will be used to perform attribute mapping.

 
 

Drupal is a registered trademark of Dries Buytaert.