ejabberd-auth-php icon indicating copy to clipboard operation
ejabberd-auth-php copied to clipboard

extauth:loop:142 extauth script has exitted abruptly with reason 'normal'

Open bhavikdesai94 opened this issue 8 years ago • 1 comments

When i am using your script for external authentication than i am getting this error how can i solve this error?? i have store password in mysql database in md5 format and i want user to login with thier password and this password must match with store password in database so how can i do that using this script??

bhavikdesai94 avatar Jun 10 '16 07:06 bhavikdesai94

i have store password in mysql database in md5 format

I'm not sure if you used one of the packaged plugins for this (Drupal, SMF, phpBB or WordPress, all of which need a site installation) or wrote your own.

Use the script at tests/test.php for testing:

./tests/test.php <user> <password>

This should hopefully yield a clearer message about what (if anything) is going wrong.

Note that ejabberd runs as its own user (ejabberd) so the script and all the files it accesses must also be readable by that user.

cburschka avatar Jun 12 '16 07:06 cburschka