#1652 Invalid credentials error with ldap authentication

Reporter nsalehi
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Component-Community
  • Type-Defect
  • Priority-Medium
  • Status-New
  1. nsalehi on

    I configured Ldap authentication (ldap2) to connect my jitsi server with active directory. I followed this instruction : https://github.com/jitsi/jitsi-meet/wiki/LDAP-Authentication. If I enter username and password it remains in “connecting” forever and in /var/log/prosody.log I get this messages: /usr/lib/prosody/net/http/server.lua:108: in function 'process_next' /usr/lib/prosody/net/http/server.lua:124: in function 'success_cb' /usr/lib/prosody/net/http/parser.lua:177: in function 'feed' /usr/lib/prosody/net/http/server.lua:155: in function </usr/lib/prosody/net/http/server.lua:154> (...tail calls...) /usr/lib/prosody/net/server_select.lua:915: in function </usr/lib/prosody/net/server_select.lua:899> [C]: in function 'xpcall' /usr/bin/prosody:80: in function 'loop' /usr/bin/prosody:90: in main chunk [C]: in ? May 03 04:55:56 mod_bosh info New BOSH session, assigned it sid 'a8c82cee-70d8-4933-a973-adce7154864f' May 03 04:55:57 mod_bosh error Traceback[bosh]: /usr/lib/prosody/modules/ldap.lib.lua:171: Invalid credentials stack traceback: [C]: in function 'assert' /usr/lib/prosody/modules/ldap.lib.lua:171: in function 'getconnection' /usr/lib/prosody/modules/ldap.lib.lua:180: in function </usr/lib/prosody/modules/ldap.lib.lua:179> (...tail calls...) /usr/lib/prosody/modules/mod_auth_ldap2/mod_auth_ldap2.lua:54: in function 'plain_test' /usr/lib/prosody/util/sasl/plain.lua:75: in function </usr/lib/prosody/util/sasl/plain.lua:39> I couldn't find an answer to my problem on forums and the Internet. Can you help?

  2. Zash on

    mod_auth_ldap2 and mod_lib_ldap are both community modules and the original author hasn't been around in years. All I can say is that it looks like the LDAP server is saying "Invalid credentials", so it's probably a misconfiguration or wrong username or password.

    Changes
    • tags Component-Community

New comment

Not published. Used for spam prevention and optional update notifications.