I Only Have Admin Access to One Virtual Host

Error

I have admin privileges on ejabberd, but only on one virtual host. On the other virtual hosts I am only a regular user. I experience this on the web interface, too. The line I put in ejabberd.cfg looks like this:

{acl, admin, {user, "bob"}}.

Explanation

If you do not specify a virtual host on that line, ejabberd will think that all users called 'bob' are administrators, each one on his virtual host.

Solution

If you want to give admin privileges to a particular Jabber ID (in this example 'bob@example.org'), you must specify the user and the virtual host in ejabberd.cfg like this:

{acl, admin, {user, "bob", "example.org"}}.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

"Not Allowed" on vhost in web interface

I have three vhosts on one server of ejabberd.

In web interface i can enter in section vhost only for one host same as name of servername. But other vhost show page with lable "Not Allowed".

How can i solve this problem?

Syndicate content