-
- Downloads
LDAP now also properly allows `nil` in names. (#23716)
* LDAP now also properly allows `nil` in names. There were still places where "Unknown" was substituted in to name keys, which we don't need to do anymore as 'nil' is valid for first/last names of users. * Remove unused namespaces/refers * Adjust LDAP so that even nil name values update the Metabase user Also changed a test in both the OSS and EE LDAP tests to make sure this is indeed true that 'nil' values are correctly set in the app-db when LDAP does not send `givenName` and/or `sn`.
Showing
- enterprise/backend/src/metabase_enterprise/enhancements/integrations/ldap.clj 7 additions, 9 deletions...rc/metabase_enterprise/enhancements/integrations/ldap.clj
- enterprise/backend/test/metabase_enterprise/enhancements/integrations/ldap_test.clj 8 additions, 8 deletions...tabase_enterprise/enhancements/integrations/ldap_test.clj
- src/metabase/integrations/ldap/default_implementation.clj 6 additions, 18 deletionssrc/metabase/integrations/ldap/default_implementation.clj
- src/metabase/models/user.clj 2 additions, 2 deletionssrc/metabase/models/user.clj
- test/metabase/integrations/ldap_test.clj 8 additions, 8 deletionstest/metabase/integrations/ldap_test.clj
Please register or sign in to comment