thorin/redmine_ldap_sync — Issue #17: memberOf / isMemberOf support.
Author: JelleHissink
Created: 2011-11-06 20:24:51+00:00
State: open

My ldap repository (OpenDS) has attributes per user to indicate group membership. Using this would allow for nested group configurations from within ldap to automatically work in redmine.

part of the ldif from my ldap user:

dn: cn=Jelle Hissink,ou=Employees,dc=CodeWise,dc=nl
cn: Jelle Hissink
uid: jelle
givenName: Jelle
objectClass: person
isMemberOf: cn=CodeWise,ou=Employees,dc=CodeWise,dc=nl
isMemberOf: cn=redmine-users,ou=Groups,dc=CodeWise,dc=nl
isMemberOf: cn=Developers,ou=Groups,dc=CodeWise,dc=nl

I have no experience in ruby, but i think the groups_changes function in auth_source_ldap_patch.rb should be modified. I just don't have a clue how to start. otherwise I would have attached a patch.