[ejabberd] in band registration script?

Badlop badlop at gmail.com
Tue May 10 00:25:57 MSD 2011


2011/5/9 zhong ming wu <mr.z.m.wu at gmail.com>:
> 2. The reason it's not helpful is that I had already tried to dumped
> out 'op' part from client.  Let me elaborate. My working script gives
> 'isuser' or 'auth' for the 'op' part.  I then tries to connect a xmpp
> client to the server and tries to register.  It seems that external
> auth script is never called by ejabberd for the registeration process.
>  Perhaps my ejabberd config is wrong and I need to tell ejabberd that
> registering is handled by the same external script

This is what I think should happen:

1. The user tries to register the account
2. ejabberd sends to the extauth script:
  isuser:badlop112:localhost
3. The script replies false (a 0)
4. And then ejabberd sends:
  tryregister:badlop112:localhost:pass123


--
Badlop
ProcessOne


More information about the ejabberd mailing list