This LDAP integration module allows users to authenticate against a configurable Lightweight Directory Access Protocol directory. This is useful for organizations which have an existing organizational directory with usernames and passwords, and want Drupal to be able to authenticate against it.

Users can read and modify their LDAP entries, and the administrator is able to limit configuration.

LDAP Integration Module (starting with 6.x-1.0-beta3) in reality, is a set of five modules:

Authentication (ldapauth.module)
Required module. It implements basic LDAP integration and sets up the environment for the other optional modules.
Groups (ldapgroups.module)
Optional. Extends the basic functionality and integrates LDAP Groups into Drupal Roles.
Data (ldapdata.module)
Optional. Extends the basic functionality and allows for the management of LDAP Attributes from within Drupal.
Requires the profile or content profile modules to be installed.
Sync (ldapsync.module)
Optional. Works with the other three modules to allow for manual or cron based import/updating of a site's Drupal users from the LDAP server(s)
The ldapdata or ldapgroups modules should be installed for best results.
Help (ldaphelp.module)
Optional. Supplies some tools and wizards that allow admins to check / debug their LDAP server settings. Note that this has not been well maintained.

Comments

Elder Brother’s picture

I need to run a set of forms separate from Drupal, but on the same server (They access an external server database). To avoid two sets of logins, we would like to access the user ID that will be used for LDAP authorisation, hopefully through this module. From scanning the documentation, I can't see any options to add the User ID to a global session, which the additional forms could then access to tag form submissions with the user logged in to the Drupal build.

Is this possible with the module as is, o would it require some forking of module code?

Thanks in advance.

asgeirj’s picture

I've successfully used the LDAP Integration module to use LDAP authentication with Drupal. Now I'm trying to create an address book with information from LDAP. I've tried the following solution:

Changed the ldap_data.module, the part that states which fields can be mapped between ldap and drupal (e.g. mail => mail). This fails when I try to add more mappings. I believe this maps to the "users" table in drupal, but when I try to add a field to that table and map a LDAP attribute to it, nothing goes into the database. My plan was to then use Table Wizard with views to create the address book. Using Table Wizard and Views I was able to extract everything I wanted from the users table, but the problem of entering data into the table is still not solved.

If you have any ideas, any at all, I'd really appreciate it. I'm a beginner in drupal and LDAP altogether btw. I've already tried to google this to death over the last few days but nothing has helped me solve this problem.

abhi@abssy’s picture

Hi everyone
I am new in ldap and now I want to add drupal ldap so please give me an idea to integrate drupal-ldap with sldap(ldap server on ubuntu).

Thanks in advance