[ejabberd] LDAP authentication + web admin

Karsten Jahn KarstensListen at gmx.de
Fri Mar 18 10:44:31 MSK 2005


I'm on Windows and even though I tried very hard I don't get these files 
compiled. Could you please send me a such compiled file? That'd be great.
Anyway, do you got the LDAP stuff running? Maybe you could post your 
entries or tell about the magic to make it work.

Thanks in Advance,
Karsten


tty at SAFe-mail.net schrieb:
> 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]),
>             E#eldap_entry.object_name;
>         _ ->
>             false
> 
> 
> which is around line 401.
> 
> Hope that helps.
> 
> totem
> 
> 
> 
> 


More information about the ejabberd mailing list