有没有办法在 py-transport 服务器端手动注册用户?
我正在尝试编写一些脚本来将我的用户迁移到 ejabberd,但是 建议我注册用户的唯一方法 传输是让他们使用他们的客户端并发现服务。 当然有办法,对吧?
I'm trying to write some scripts to migrate my users to ejabberd, but
the only way that's been suggested for me to register a user with a
transport is to have them use their client and discover the service.
Certainly there is a way, right?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
并自行注册。 捕获
XMPP 数据包。
您当前的注册数据
系统转换为 csv 文件、xml 文件或
其他你可以知道的事情
结构。
使用 jabberpy、xmpppy、pyxmpp 或
无论如何,并效仿你的每一个
用户注册
运输。
一个问题是您可能必须连接到互联网才能使传输上线。 然后你就可以使用别人的帐户了。 如果您无法获取 jabber 服务器的当前密码数据,请将其全部设置为默认值,然后在传输注册后将其迁移回来。
and register yourself. Capture the
XMPP packets.
registration data from your current
system into a csv file, xml file, or
something else you can know the
structure.
using jabberpy, xmpppy, pyxmpp, or
whatever, and emulate each of your
users registering with the
transports.
One issue is you may have to be connected to the Internet for the transports to come online. Then you're going live with someone else's account. If you can't get their current password data for your jabber server, set it all to a default and then migrate it back after your transport registration.