[ejabberd] Ejabberd on Windows NT and controlling user IDcreationby sysadmin only.

Martyn Baker Martyn.Baker at clara.co.uk
Mon Aug 9 20:52:48 MSD 2004


Hi  Sergei

I tried that script and erl crashed - luckily it didn't crash the server
itself.

Is there anyone out there who has written or modified a module to replace
mod_register such that new user creation can be restricted only to the
server admins.



Martyn

----- Original Message ----- 
From: <sgolovan at nm.ru>
To: <ejabberd at jabber.ru>
Sent: Sunday, August 08, 2004 11:44 AM
Subject: Re: [ejabberd] Ejabberd on Windows NT and controlling user
IDcreationby sysadmin only.


> Hello Martyn Baker
>
> Вс, 08.08.2004 11:39:52 you wrote:
> >
> MB> Hi
> MB> I have a need to stop people creating their own ID's with the clients
when they first connect to Ejabberd.
> MB> Currently, in Exodus, users can create a new account by putting a tick
in "this is a new account" box and the server will create it.
> MB> On the server in Ejabberd.cfg, there is a line which is similar to the
below:
> MB> % Used modules:
> MB> {modules,
> MB> [
> MB> {mod_register, [{access, register}]},
>
> Just put
>
> {access, register, [{deny, all}]}.
>
> to your config file. This will forbid in-band registering of new users.
>
> To register users you may use the following script:
>
> erl -sname ejabberdctl -s ejabberd_ctl -noinput -extra
ejabberd at yourhostname register <username> <password>
>
> --
> Sergei Golovan
> __________
> www.newmail.ru -- Новая Почта для нового поколения.
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>



More information about the ejabberd mailing list