[ejabberd] anonymous mechanism isn't offered

Badlop badlop at gmail.com
Mon Feb 16 12:58:07 MSK 2009


2009/2/12 Florian Thießen <Florian at thiessen.org>:
> I have my service configured to offer anonymous login.
>
> For some reason it doesn't list anonymous as a mechanism to login when
> someone (muckl in this case) tries to login.

After some investigation, we found the reason of the problem:

> The mistake was to specify the host-specific auth option for my public domain _before_
> specifying the global auth option. Switched that, gave it a restart and now it's running.

Bad config:
{hosts, ["example.org", "example.net", "example.com"]}.
{host_config, "example.com", [{auth_method, odbc}]}.
{auth_method, internal}.

Good config:
{hosts, ["example.org", "example.net", "example.com"]}.
{auth_method, internal}.
{host_config, "example.com", [{auth_method, odbc}]}.


---
Badlop,
ProcessOne


More information about the ejabberd mailing list