Add a hook_detect_ldapgroups for detecting groups.

ccw - November 9, 2009 - 15:11
Project:LDAP integration
Version:5.x-1.5
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Issue tags:hooks, ldapgroups
Description

I've written a patch that introduces a posibility for arbitrary ldap group
detection.

Our particular ldap setup couldn't be catered by the existing 3 strategies so
I implemented a 4th strategy: hook_detect_ldapgroups($ldap_connection, $user)
It enables anyone to write a custom module that implements the hook to cater
any weird scheme for detecting extra groups from LDAP.

I suspect it needs review, but it's a very simple patch with no side-effects,
so I hope it will be included in future releases.

AttachmentSize
hook_detect_ldapgroups.patch1.4 KB

#1

ccw - November 10, 2009 - 09:27
Status:patch (to be ported)» needs review

#2

ccw - November 18, 2009 - 08:47
Assigned to:ccw» Anonymous

Unassigning. Someone else should review this.

 
 

Drupal is a registered trademark of Dries Buytaert.