Hello,
i have installed ejabbed 2.1.5 on a Debian System v6.0.3.
I use the PSI Client.
But i get the Error: "This server does not support registration"
My /etc/ejabberd/ejabberd.cfg
{acl, admin, {user, "ejadmin", "localhost"}}.
{hosts, ["localhost"]}.
{loglevel, 4}.
{listen,
[
{ {5222, "192.168.1.247"}, ejabberd_c2s, [{access, c2s}, {max_stanza_size, 65536},
tls, {certfile, "/etc/ejabberd/server.pem"}, {shaper, c2s_shaper}]},
{ {5223, "192.168.1.247"}, ejabberd_c2s, [{access, c2s}, {max_stanza_size, 65536},
tls, {certfile, "/etc/ejabberd/server.pem"}, {shaper, c2s_shaper}]},
{5269, ejabberd_s2s_in, [
{shaper, s2s_shaper},
{max_stanza_size, 131072}
]},
{5280, ejabberd_http, [
http_bind,
http_poll,
web_admin
]}
]}.
{max_fsm_queue, 1000}.
{s2s_use_starttls, true}.
{s2s_certfile, "/etc/ejabberd/server.pem"}.
{s2s_default_policy, allow}.
{auth_method, internal}.
{shaper, normal, {maxrate, 1000}}.
{shaper, fast, {maxrate, 50000}}.
{acl, local, {user_regexp, ""}}.
{access, max_user_sessions, [{10, all}]}.
{access, max_user_offline_messages, [{5000, admin}, {100, all}]}.
{access, local, [{allow, local}]}.
{access, c2s, [{allow, blocked},
{allow, all}]}.
{access, c2s_shaper, [{none, admin},
{normal, all}]}.
{access, s2s_shaper, [{fast, all}]}.
{access, announce, [{allow, admin}]}.
{access, configure, [{allow, admin}]}.
{access, muc_admin, [{allow, admin}]}.
{access, muc, [{allow, all}]}.
{access, register, [{allow, all}]}.
{access, pubsub_createnode, [{allow, all}]}.
{language, "en"}.
{modules,
[
{mod_adhoc, []},
{mod_announce, [{access, announce}]}, % requires mod_adhoc
{mod_caps, []},
{mod_configure,[]}, % requires mod_adhoc
{mod_admin_extra, []},
{mod_disco, []},
{mod_irc, []},
{mod_last, []},
{mod_muc, [
{access, muc},
{access_create, muc},
{access_persistent, muc},
{access_admin, muc_admin},
{max_users, 500}
]},
{mod_offline, [{access_max_user_messages, max_user_offline_messages}]},
{mod_privacy, []},
{mod_private, []},
{mod_proxy65, [
{access, local},
{shaper, c2s_shaper}
]},
{mod_pubsub, [ % requires mod_caps
{access_createnode, pubsub_createnode},
{pep_sendlast_offline, false},
{last_item_cache, false},
{plugins, ["flat", "hometree", "pep"]} % pep requires mod_caps
]},
{mod_register, [
{welcome_message, {"Welcome!",
"Welcome to a Jabber service powered by Debian. "
"For information about Jabber visit "
"http://www.jabber.org"}},
{access, register}
]},
{mod_roster, []},
{mod_stats, []},
{mod_time, []},
{mod_vcard, []},
{mod_version, []}
]}.
What did i wrong ?
Thanks for help
I have set your
I have set your configuration, and Psi can register accounts.
Debian initial configuration has registration disbled, like this:
{access, register, [{deny, all}]}.
You chnged that, so it should allow registration. Maybe you forgot to restart ejabberd? Or maybe you modified a configuration file that ejabberd does not read?