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
No, this is not supported.
#2
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
#4
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
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
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.