Project

General

Profile

Create an administrator

Lonely Lonely
Added over 4 years ago

Hi,

After I installed, how to create an administrator account? And create a chat room by an administrator, other users automatically enter the room? Tell me how to operate?


Replies (4)

Added by Wojciech Kapcia TigaseTeam over 4 years ago

Lonely Lonely wrote:

Hi,

After I installed, how to create an administrator account?

If you used Installer then administrator account is created automatically. Otherwise you need to create it by hand - for example directly accessing database and using TigAddUserPlainPw('user@jid','password'); stored procedure.

And create a chat room by an administrator, other users automatically enter the room? Tell me how to operate?

MUC rooms are created automatically after first user joins.

Added by Lonely Lonely over 4 years ago

Yes,My configuration is

--admins=admin@192.168.0.50

This description is not an administrator account admin@192.168.0.50 is it?

I let the administrator to enter the chat room. That means the owner of this room is an administrator,

but when other users enter the following error appears

<presence xmlns="jabber:client" to="38@192.168.0.50/xmpp" from="talk5s@muc.192.168.0.50/38" type="error"><x xmlns="http://jabber.org/protocol/muc"><history seconds="600"/></x><c xmlns="http://jabber.org/protocol/caps" ver="k6gP4Ua5m4uu9YorAG0LRXM+kZY=" hash="sha-1" node="https://github.com/robbiehanson/XMPPFramework"/><error code="407" type="auth"><registration-required xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></presence>

Please help me,Thanks!

Added by Wojciech Kapcia TigaseTeam over 4 years ago

From your configuration - admin@192.168.0.50 is the administrative account (however you should avoid using IP as an VHost).

As for the configuration - it looks like you are configuring room to be members only and user that joins the room is not configured as member of the room.

Added by Lonely Lonely over 4 years ago

Thank you for your answer!

I'm new to xmpp did not take long,Also please tell me how to configure.Thanks.

    (1-4/4)