can't create admin user

I'm install ejabberd under Debian/Etch from repository.
Authorization configured by guide from process-one.net:
{auth_method, odbc}.
{odbc_server, {mysql, "mysql", "ejabberd", "ejabberd", "pass"}}.

Tables in database created by mysql.sql from guide, all privileges to database are granted.

All other changes -- simple replaces for hostname and admin account such as:

%% Admin user
{acl, admin, {user, "stanislav", "jabber.fqdn"}}.

%% Hostname
{hosts, ["jabber.fqdn"]}.

Now i need to create admin user:

jabber:~# ejabberdctl register stanislav jabber.fqdn kozzgsf
User "stanislav@jabber.fqdn" already registered at node ejabberd@jabber

And with short name:

jabber:~# ejabberdctl register stanislav jabber kozzgsf
Can't register user "stanislav@jabber" at node ejabberd@jabber: not_allowed

jabber:~# hostname
jabber.fqdn
jabber:~# hostname -a
jabber.fqdn jabber conference.jabber conference.jabber.fqdn

What i'm forgot?

create user first, after

create user first, after give admin rights

No :-) i'm forgot to see for

No :-)

i'm forgot to see for native mysql in ejabberd.

ejabberd in Debian/Etch miss this feature.

All work fine after change odbc_server line to:
{odbc_server, "DSN=ejabberd;UID=ejabberd;PWD=mypassword"}
with some tune of odbc.ini.

No i have another problems :-)

--
Stanislav

Syndicate content