Fix broken LDAP group lookups for Active Directory (#16331)
* adapt ldap test helpers to be able to test AD memberOf attribute * fix ldap search to handle memberOf attributes with a single group * use one-or-many instead of if statement * fix tests
Showing
- src/metabase/integrations/ldap/default_implementation.clj 1 addition, 1 deletionsrc/metabase/integrations/ldap/default_implementation.clj
- test/metabase/integrations/ldap_test.clj 20 additions, 1 deletiontest/metabase/integrations/ldap_test.clj
- test/metabase/test/integrations/ldap.clj 26 additions, 10 deletionstest/metabase/test/integrations/ldap.clj
- test_resources/active_directory.ldif 56 additions, 0 deletionstest_resources/active_directory.ldif
test_resources/active_directory.ldif
0 → 100644
Please register or sign in to comment