Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mixed auth method for several hosts #23

Closed
michalwski opened this issue May 10, 2012 · 1 comment
Closed

Mixed auth method for several hosts #23

michalwski opened this issue May 10, 2012 · 1 comment

Comments

@michalwski
Copy link
Contributor

When default auth method is odbc, but one host is configured to use internal authentication, ejabberd_snmp_backend asks only for register users count from default auth method (in this case it is odbc).

@jbothma
Copy link

jbothma commented Aug 28, 2012

This probably ought to have tests, although automating config tests is a bit tricky. Manually it seems to enable eldap for one host and insternal auth method for another app in my current work. @michalwski , does it fix your issue?

Like I said in the commit message, I'm not sure this is complete. There might be deeper host terms that need conversion.

jbothma pushed a commit to jbothma/ejabberd that referenced this issue Aug 31, 2012
Global config hosts are converted to binaries, but not those in host_config terms.
This just fixes the term defining which host it applies to. There might be host terms
in the config terms that should be converted too. Without converting these to binary,
the config lookup for per-host config was 'undefined'.
This also tries to enforce binaries when processing terms to fail early instead of
silently like it did.
Host can also be 'global'
jbothma pushed a commit to jbothma/ejabberd that referenced this issue Sep 4, 2012
Global config hosts are converted to binaries, but not those in host_config terms.
This just fixes the term defining which host it applies to. There might be host terms
in the config terms that should be converted too. Without converting these to binary,
the config lookup for per-host config was 'undefined'.
This also tries to enforce binaries when processing terms to fail early instead of
silently like it did.
Host can also be 'global'
jbothma pushed a commit to jbothma/ejabberd that referenced this issue Sep 6, 2012
Global config hosts are converted to binaries, but not those in host_config terms.
This just fixes the term defining which host it applies to. There might be host terms
in the config terms that should be converted too. Without converting these to binary,
the config lookup for per-host config was 'undefined'.
This also tries to enforce binaries when processing terms to fail early instead of
silently like it did.
Host can also be 'global'
michalwski added a commit that referenced this issue Aug 7, 2015
NelsonVides pushed a commit that referenced this issue Jul 23, 2021
FUL-25297: Add multi tenancy documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants