External Authentication and adding contact

I have external authentication working. However, when using external authentication, adding a contact/buddy crashes the ejabberd process or makes further logins impossible.

I tested with the mnesia internal database and an obdc mysql database both function and do not crash when adding a contact.

Is there additional switches or code needed in the external authentication. Or a way to retrieve friends from the external source database that php is autheticating against. It is a dating site that you can add people to hotlist etc if there was a way to have them automatically show there would be no need to add a contact.

What am i missing

Thanks
Jeff

Compare communication when using another extauth script

nightsbird wrote:

I have external authentication working. However, when using external authentication, adding a contact/buddy crashes the ejabberd process or makes further logins impossible.

It seems that your extauth script does not support correctly some call required by ejabberd's extauth. Check what call to the extauth script produces the problem, then determine if your script returns an acceptable value.

You can temporarily setup ejabberd to use other well-known extauth scripts, and compare the communication produced with a good script script and your script.

Syndicate content