thorin / redmine_ldap_sync

[UNMAINTAINED] A redmine plugin to synchronize both users and groups with an ldap server
http://www.redmine.org/plugins/redmine_ldap_sync
GNU General Public License v3.0
140 stars 129 forks source link

Use separate DN for nested groups, add option not to create such groups #207

Open s-andy opened 6 years ago

s-andy commented 6 years ago

If subgroups are under different DN (comparing to main groups), the plugin fails to fetch them. nil as 'Groups base DN' doesn't help here either.

So, in this fork I solved this issue (#205) by:

Regarding the latter:

The plugin always creates all groups, the user belongs to. But, when importing users, who belong to subgroups, we may not want such groups to be imported (such users are also added to the corresponding main group). Therefore, I added 'Create nested groups', that allows to control this.

Thanks @acosonic for the idea.