Problem with LDAP authentication

I recently tried to setup a jitsi meet instance on Ubuntu 18.04.
Everything works fine when using anonymous authentication.
When set to ldap2 I get the following issue:

  1. The user enters a room name
  2. Click on “I am the Host”
  3. The user enters the credentials
    • if credentials are wrong an error is printed
  4. Connecting is printed
  5. Without any errors the user is back at the “I am the Host screen”

Chrome logs this warning:

Logger.js:154 2020-07-27T14:19:55.985Z [modules/xmpp/strophe.util.js] <Object.r.Strophe.log>: Strophe: Disconnect was called because: undefined

Thanks for your help.