问题描述
我希望有可能,因为我无法在Web上或XMPP / ejabberd文档中的任何地方找到它:
我运行ejabberd并希望user1(管理员帐户)能够将状态订阅请求推送到似乎来自于user2的user3。出于安全原因,我希望将user1指定为具有特权的用户。
这可能吗,您能给我任何指示吗?
I hope it is possible because I couldn't find it anywhere on the web or in the XMPP/ejabberd docs:I run ejabberd and would like the ability for user1 (an administrator account) to be able to push a presence subscription request to user3 that appears to have come from user2. For security reasons I would have user1 be designated as a user with privileges to do this.Is this possible and can you give me any pointers?
推荐答案
可以通过Ejabberd数据库进行管理。
It can be managed through Ejabberd database.
配置Ejabberd与外部数据库(mysql或 mssql
)进行通信。
Configure the Ejabberd to communicate with the external database (mysql or mssql
).
在任何服务器端程序中创建动态网页。可以使用admin在ejabberd上登录并更改外部数据库中的rosterusers表。
Create the dynamic web page in any server-side prog. to login with admin on ejabberd and change the rosterusers table in the external database.
默认情况下,Ejabberd使用 mnesia
数据库。您可以使用 mssql
或 mysql
对其进行配置。
By default Ejabberd uses mnesia
database. You can configure it with mssql
or mysql
.
对于mssql:
这篇关于用户1(管理员)如何将用户2的状态订阅请求提交给用户3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!