ldap integration

Authenticate Drupal to OS X Server's Open Directory

Your Drupal website can authenticate users stored in OS X Server's databse, Open Directory.

These settings worked for OS X Server 10.3 (Panther). Not sure how compatible they are with Tiger and Leopard.

LDAP Integration settings
LDAP Port: 389
Base DN: cn=users,dc=yourdomain,dc=com
UserName attribute: uid

LDAP Groups settings
Groups exist as LDAP entries where a multivalued attribute contains the members' CNs
Nodes containing groups (one per line): cn=groups,dc=,dc=com
Attribute holding group members: memberUid

LDAP Integration

Three modules that: let users to authenticate against multiple LDAP or AD servers; use LDAP groups as Drupal roles; and provides read or read/write access to LDAP data from within Drupal.

Prerequisites
PHP must be compiled with LDAP support - ./configure --with-ldap in order to use the LDAP module. You will probably have to install openldap-devel in order to do that.

Bug Fix
Per this bug report on Drupal.org, you need to fix a couple of the LDAP module files to properly map LDAP groups to the users
In ldapauth.module and ldapgroups.module replace all:

user_save($user, $userinfo);

With:

Subscribe to RSS - ldap integration

Recent Updates

  • 8 months 3 weeks ago
    1.27.2 update
  • 9 months 3 days ago
    Drupal 10/11 config
  • 9 months 5 days ago
  • PHP
    9 months 5 days ago
    PHP 8.3.11 and AlmaLinux
  • 9 months 5 days ago
    New version of Pound