Drupal Roles -> LDAP Groups

benlangfeld - June 19, 2009 - 18:23
Project:LDAP integration
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:benlangfeld
Status:needs work
Issue tags:ldapgroups
Description

Is it possible to sync in the opposite direction, between drupal roles and LDAP groups? I want to use Drupal to manage users, and I need the ability to add/remove roles within drupal and for these changes to be reflected in the group membership of the LDAP user.

#1

miglius - June 19, 2009 - 18:33

No, this is not supported.

#2

benlangfeld - June 19, 2009 - 18:39

Will this be supported any time soon? This functionality is absolutely 100% essential to my implementation. If there are no plans to support this functionality (which, to be honest, seems like something that is essential), then what do you recommend as an alternative approach?

#3

benlangfeld - June 19, 2009 - 23:17
Component:Documentation» Code
Category:support request» feature request

#4

benlangfeld - June 30, 2009 - 14:49

Is there anyone who is prepared to tackle this? I would give it a go myself, but I really don't think I'd be able to manage it.

#5

benlangfeld - September 11, 2009 - 21:59
Version:6.x-1.0-alpha2» 6.x-1.x-dev
Assigned to:Anonymous» benlangfeld

I'm going to give this a go myself soon. If there is anyone interested in helping out, it'd be great to hear from you. Otherwise, hopefully i'll be able to submit something for review here soon.

#6

benlangfeld - September 15, 2009 - 11:14
Status:active» needs work

Attached is a patch that implements some skeleton functionality. There are many issues currently with this code, but it is working in our case so for now I must move on. Comments and suggestions greatly appreciated.

AttachmentSize
ldapgroups-reverse-496662-6.patch 6.84 KB
 
 

Drupal is a registered trademark of Dries Buytaert.