At the moment if I belong to 100 groups on LDAP, but only want to map 2 of those to Drupal Roles, ldapgroups will map the 2 and create the other 98 too. Can you add a setting with options:

a) If a group does not have a corresponding role, create it
b) Map groups to existing roles only, no roles created.

Comments

johnbarclay’s picture

Status: Active » Closed (fixed)

This functionality exists in LDAP groups. It can be accomplished in 2 ways:

- by editing the ldap_integration/ldap_integration/ldapgroups.conf file. Directions included in file. This is how it worked in drupal 5 also.

- use the untested patch that I wrote to make this filter configurable via the web interface. Useful for multisite installs in particular.