Last updated March 29, 2009. Created by anotherdave on May 6, 2006.
Edited by quicksketch, webchick, LeeHunter, Tresler. Log in to edit this page.
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 in reality, is a set of three 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 profile module to be installed.
Comments
passing user ID to Session / cookie
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.
www.ebrotherly.com
Problem creating a view with info from LDAP
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.