Skip to content

Commit

Permalink
fix ldap ut with no bind dn
Browse files Browse the repository at this point in the history
  • Loading branch information
turboFei committed Oct 23, 2021
1 parent 95ddd35 commit 294c43f
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ class WithLdapServer extends KyuubiFunSuite {

override def beforeAll(): Unit = {
val config = new InMemoryDirectoryServerConfig("ou=users")
config.addAdditionalBindCredentials(s"uid=${user},ou=users", password)
config.setBaseDNs("ou=users")
config.addAdditionalBindCredentials(s"uid=$user,ou=users", password)
ldapServer = new InMemoryDirectoryServer()
ldapServer.startListening()
super.beforeAll()
Expand Down

0 comments on commit 294c43f

Please sign in to comment.