Skip to content
Snippets Groups Projects
Unverified Commit 250b14de authored by Noah Moss's avatar Noah Moss Committed by GitHub
Browse files

test that LDAP works with $ in password (#16092)

parent aad24de7
No related merge requests found
......@@ -64,7 +64,11 @@
(testing "fail regular user login with bad password"
(is (= false
(ldap/verify-password "cn=Sally Brown,ou=People,dc=metabase,dc=com" "password"))))))
(ldap/verify-password "cn=Sally Brown,ou=People,dc=metabase,dc=com" "password"))))
(testing "password containing dollar signs succeeds (#15145)"
(is (= true
(ldap/verify-password "cn=Fred Taylor,ou=People,dc=metabase,dc=com", "pa$$word"))))))
(deftest find-test
;; there are EE-specific versions of this test in `metabase-enterprise.enhancements.integrations.ldap-test`
......
......@@ -44,7 +44,7 @@ sN: Taylor
givenname: Fred
uid: ftaylor300
mAiL: fred.taylor@metabase.com
userpassword: unh4ck4bl3
userpassword: pa$$word
dn: ou=Birds,dc=metabase,dc=com
objectClass: top
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment