Another ldap auth question/problem

Hi,

I am trying to configure jitsi-meet with Ldap auth using ldap2 module following the tutorial mentioned here LDAP integration problems

Auth attempt results to the following error at prosody.log:

Jun 07 13:08:01 mod_bosh info New BOSH session, assigned it sid ‘2d5d226b-4801-4cd4-925a-bdcd0ac6bbfc’
Jun 07 13:08:01 mod_bosh error Traceback[bosh]: /usr/lib/prosody/modules/ldap.lib.lua:217: attempt to index local ‘ld’ (a nil value)
stack traceback:
/usr/lib/prosody/modules/ldap.lib.lua:217: in function ‘singlematch’
/usr/lib/prosody/modules/ldap.lib.lua:187: in function </usr/lib/prosody/modules/ldap.lib.lua:179>
(tail call): ?
…ib/prosody/modules/mod_auth_ldap2/mod_auth_ldap2.lua:54: in function ‘plain_test’
/usr/lib/prosody/util/sasl/plain.lua:74: in function </usr/lib/prosody/util/sasl/plain.lua:38>
(tail call): ?
/usr/lib/prosody/modules/mod_saslauth.lua:77: in function </usr/lib/prosody/modules/mod_saslauth.lua:66>
(tail call): ?
/usr/lib/prosody/util/events.lua:78: in function </usr/lib/prosody/util/events.lua:74>
(tail call): ?

/usr/lib/prosody/net/http/server.lua:112: in function ‘process_next’
/usr/lib/prosody/net/http/server.lua:128: in function ‘success_cb’
/usr/lib/prosody/net/http/parser.lua:177: in function ‘feed’
/usr/lib/prosody/net/http/server.lua:159: in function </usr/lib/prosody/net/http/server.lua:158>
(tail call): ?
/usr/lib/prosody/net/server_select.lua:879: in function </usr/lib/prosody/net/server_select.lua:861>
[C]: in function ‘xpcall’
/usr/bin/prosody:400: in function ‘loop’
/usr/bin/prosody:431: in main chunk
[C]: ?

According to ldap server log, tls connection is established but there is no bind attempt, and finally connection is closed by timeout.

My ldap auth config:

authentication = ‘ldap2’

ldap = {
hostname = ‘10.12.11.254:389’,
use_tls = true,
bind_dn = ‘uid=auth,ou=People,dc=domain,dc=com’,
bind_password = ‘pass’,
user = {
basedn = ‘ou=People,dc=domain,dc=com’,
filter = ‘(&(objectClass=posixAccount)(uid=%s))’,
usernamefield = ‘uid’,
namefield = ‘cn’,
},
}

Did I miss something or it can be a problem on a server side?

Thanks.

Mike.