ejabberd-auth-php
ejabberd-auth-php copied to clipboard
extauth:loop:142 extauth script has exitted abruptly with reason 'normal'
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??
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.