Hey there,
I've just come across clear text passwords in my /var/log/ejabberd.log. It seems that the LDAP module prints them at least on bind errors.
LDAP request failed: eldap:bind(["uid=xxxxxx,ou=xxxxxx,dc=xxxxxxxxxxx,dc=de",
"cLeArTextPassword"])
Does anybody know how to stop this behaviuor?
Thx in advance // nielo
It is a log mesage of level
It is a log mesage of level "error". If you set in your ejabberd config file the option loglevel to 1, then log messages of that category are not printed.
A more fine-grained solution:
1. Download ejabberd source code of your version
2. Apply this patch, so the error message doesn't display the call arguments:
3. Compile ejabberd. Well, in fact you only care about compiling eldap_pool.erl
4. When you get the binary file eldap_pool.beam, copy it to replace the old one
5. Restart ejabberd, or reload that file at runtime using WebAdmin.