【发布时间】:2023-03-22 07:15:01
【问题描述】:
我正在 ejabberd 中实现外部身份验证。我正在使用provided by ejabberd 的 PHP MySQL 脚本。不幸的是,当我尝试连接存储在表中的用户详细信息时,它给了我一个错误。
=ERROR REPORT==== 2013-04-11 13:17:54 ===
E(<0.269.0>:extauth:133) : extauth call '["auth","admin","localhost","admin"]' didn't receive
response
=INFO REPORT==== 2013-04-11 13:17:54 ===
I(<0.462.0>:ejabberd_c2s:649) :
({socket_state,ejabberd_http_bind,{http_bind,<0.461.0>,{{127,0,0,1},39426}},ejabberd_http_bind})
Failed authentication for admin@localhost
有人可以帮我解决这个问题吗?
【问题讨论】:
-
Failed authentication for admin@localhost确保用户 admin 可以从 localhost 连接。 -
在这里我使用 strophe js 作为 jabber 客户端。我想通过 mysql php 实现外部身份验证,但它没有连接。如果我使用的是内部身份验证,那么它工作正常。
标签: php mysql authentication ejabberd