[ejabberd] LDAP authentication + web admin

tty at SAFe-mail.net tty at SAFe-mail.net
Thu Mar 17 19:31:40 MSK 2005

You can modify ejabberd_auth.erl to print the LDAP query out. This was what I did to debug my deployment. Of course it also means you see the passwords of the users in plaintext !

The function to modify is find_user_dn/1

        #eldap_search_result{entries = [E | _]} ->
++          Atrib = E#eldap_entry.attributes,
++          io:format("LDAP query ~s~n", [Atrib]),
        _ ->

which is around line 401.

Hope that helps.


More information about the ejabberd mailing list