I set up ejabberd to authenticate against an existing MySQL database I set up. In my ejabberd.cfg file I have an acl that grants me access. However, I cannot access web admin, and I am not granted admin rights since when I try to create a room, I am not allowed. I can log in OK, and if I set it so that access_create in muc is set to all, I can create a room. When using external authentication, does it not know to grant me admin rights?
Here is the relevant portion of my config file:
% $Id: $
{acl, admin, {user, "myusername", "hostname.com"}}.
...
...
{auth_method, external}.
{extauth_program, "/path/to/auth_mysql.php"}.
...
...
{hosts, ["hostname.com"]}.
...
...
{access, muc_admin, [{allow, admin}]}.
{access, muc, [{allow, all}]}.
...
{listen, [
{5222, ejabberd_c2s, [{access, c2s},
{max_stanza_size, 65536},
{shaper, c2s_shaper}]},
{5269, ejabberd_s2s_in, [{shaper, s2s_shaper}, {max_stanza_size, 131072}]},
{5280, ejabberd_http, [http_poll, web_admin]}
]}.
{modules,
[
{mod_register, [{access, register}]},
{mod_roster, []},
{mod_privacy, []},
{mod_adhoc, []},
{mod_configure, []},
{mod_configure2, []},
{mod_disco, []},
{mod_stats, []},
{mod_vcard, []},
{mod_offline, []},
{mod_announce, [{access, announce}]},
{mod_echo, [{host, "echo.hostname.com"}]},
{mod_private, []},
{mod_irc, []},
{mod_muc, [{access, muc},
{access_create, muc_admin},
{access_admin, muc_admin}]},
{mod_pubsub, [{access_createnode, pubsub_createnode}]},
{mod_time, []},
{mod_last, []},
{mod_version, []}
]}.
% Local Variables:
% mode: erlang
% End: