[ejabberd] ejabberd 2.1.11 registration and authorization

Tomislav Marčinković tmarcink at gmail.com
Thu Jun 14 00:06:19 MSK 2012


Hello,

I'm running ejabberd 2.1.11 on ubuntu 10.04, I have installed ejabberd from
PPA. My problem with ejabberd is with registering local users, when I run

*root at host:# su ejabberd -c 'ejabberdctl register USER localhost
SUPERSECRETPASSWORD'*
*
*
on machine on which ejabberd is installed I get this message:

*Can't register user USER at localhost at node ejabberd at HOST: not_allowed*

This is strange because I have defined "*{access, register, [{allow,
local}]}.*" in configuration.

Am I doing something wrong?
*
*
Do I need to register user if I'm using:

*{auth_method, pam}.*
*{pam_service, "ejabberd"}.*

Permissions for epam are:

*-rwxr-xr-x 1 root root 97016 2012-05-05 05:02
/usr/lib/ejabberd/priv/bin/epam**

but epam service is running under *ejabberd* user.

*ejabberd 12575  0.0  0.0  23212  1176 ?        Ss   20:59   0:00
/usr/lib/ejabberd/priv/bin/epam*

Thanks in advance!
-- 
Tomislav Marčinković | tmarcink at gmail.com
GPG: 91F6E001
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20120613/4704e031/attachment.html>


More information about the ejabberd mailing list