[ejabberd] auth_passwort_format ignored with multiple hosts and different settings

Badlop badlop at gmail.com
Wed Mar 30 19:05:08 MSK 2016

Looking at the source code (in the function is_option_scram/0 defined
for internal and odbc auth), the option auth_password_format is
considered global for all the ejabberd node, not intended to be
configurable per-vhost.

And looking at the documentation, this isn't explicitly mentioned, but
it is implicit when it says:
> To use internal authentication with hashed passwords on all virtual hosts:

So, it seems the intended behavior.


On 28 March 2016 at 19:54, Christoph (JabJab.de) <mail at jabjab.de> wrote:
> Hi,
> it seems, that
> auth_passwort_format: scram
> is ignored, if you have multiple hosts in your config
> and at least one of them uses
> auth_passwort_format: plain
> or no setting for this at all.
> I tested only mysql auth.
> Is this a bug or the intended behavior?
> Chris
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd

More information about the ejabberd mailing list