First: I really enjoi working with django_auth_ldap. Recently an issue came up for me: I want to have some authentication where if a user is not in one required group but in another (and so forth) the user is permitted. So basically what I want to have is the possibility to have not a string in AUTH_LDAP_REQUIRE_GROUP but a list.According to this list the mebership should be checked one after the other.
I achived my goal by having multipe LDAPBackends defined each of them only differing in the REQUIRED_GROUP setting. But this is not dry ;-)
Maybe there is a better solution already?
Thanks for your help with this!