J'ai installé la contribution ejabberd il y a déjà quelques mois mais je n'ai jamais réussi à l'exploiter.
Je viens d'y jeter un oeil à "tête reposée" mais je continue à bloquer.
Je ne refuserais pas un peu d'aide si cela est possible.
Voici donc les quelques détails qui me semblent utiles :
- - Serveur SME : 7.5.1 en mode "Server only" ; @IP = 192.168.0.10
- Version de la contribution : smeserver-ejabberd-1.1.4-6.el4.eos.i386.rpm
- Client Jabber utilisé : Spark v2.5.8 sur PC MS-Windows XP pro
- Configuration ejabberd :
- - Jabber services access : Allow public access --> ejabberd enabled on LAN and WAN ports
- Jabber domain : serveur-boulot.lan (domaine primaire résolu en local, aussi testé en résolution par "Internet DNS servers")
- Type of access : non secured access available --> non encryted access on port 5222, TLS access on port 5223
- Jabber client registering : Allowed for everybody --> Jabber clients can register accounts without restriction
- Text of welcome subject : Welcome to ATGC3-I_Boulot server !
- Text of welcome message :
2010-09-02 @ 14h10 (SGT)
Welcome on the HP's XMPP / Jabber testing server !
This server is just for testing purposes.
Please don't use this server for any private or sensitive content tchating.
Thank you.
- Jabber admin web page : Enabled
Problème
- Je ne peux pas accéder à la page Web d'administration https://192.168.0.10:5280/admin créer LE compte admin via un client Jabber
- Je ne peux pas créer le compte en question en utilisant le client Spark v2.5.8 à ma disposition Spark "dit" : "invalid username or password".
- Paramètres fournis à Spark :
- - Username : admin
- Password : Test-Jabber-1234
- Server : 192.168.0.10
- Advanced : Use defaults (Automatically discover host and port ; pas de compression ; use old SSL port method = NO)
- J'ai donc tenté les commandes suivantes :
- Code: Tout sélectionner
[root@ATGC3-I_Boulot ~]# sudo -u ejabberd -H /opt/ejabberd/bin/ejabberdctl status
Node ejabberd@localhost is started. Status: started
ejabberd is running
[root@ATGC3-I_Boulot ~]#
[root@ATGC3-I_Boulot ~]# sudo -u ejabberd -H /opt/ejabberd/bin/ejabberdctl stats registeredusers
1
[root@ATGC3-I_Boulot ~]#
[root@ATGC3-I_Boulot ~]# sudo -u ejabberd -H /opt/ejabberd/bin/ejabberdctl set-password admin 192.168.0.10 Test-Jabber-1234
[root@ATGC3-I_Boulot ~]#
[root@ATGC3-I_Boulot ~]# sudo -u ejabberd -H /opt/ejabberd/bin/ejabberdctl register admin serveur-boulot.lan Test-Jabber-2010
Can't register user "admin@localhost" at node ejabberd@localhost: not_allowed
[root@ATGC3-I_Boulot ~]#
Là, je suis un peu à court d'imagination.
Je vous remercie de m'avoir lu jusqu'ici.
Cordialement,
HP
P.S.
Voici le contenu de l'aide en ligne de commande :
- Code: Tout sélectionner
[root@ATGC3-I_Boulot ~]# sudo -u ejabberd -H /opt/ejabberd/bin/ejabberdctl
Usage: ejabberdctl node command
Available commands:
status get ejabberd status
stop stop ejabberd
restart restart ejabberd
reopen-log reopen log file
register user server password register a user
unregister user server unregister a user
backup file store a database backup to file
restore file restore a database backup from file
install-fallback file install a database fallback from file
dump file dump a database to a text file
load file restore a database from a text file
import-file file import user data from jabberd 1.4 spool file
import-dir dir import user data from jabberd 1.4 spool directory
delete-expired-messages delete expired offline messages from database
delete-old-messages n delete offline messages older than n days from database
vhost host ... execute host-specific commands
delete-older-messages days delete offline messages older than 'days'
vcard-set user host data [data2] content set data to content on the vCard
muc-unused-destroy days destroy rooms without activity last days
incoming-s2s-number print number of incoming s2s connections on the node
vcard-get user host data [data2] get data from the vCard of the user
status-list status list the logged users with status
remove-node nodename remove an ejabberd node from the database
stats onlineusers number of logged users
stats registeredusers number of registered users
pushroster-all file push template roster in file to all those users
add-rosteritem user1 server1 user2 server2 nick group subs Add user2@server2 to user1@server1's roster
srg-delete group host delete the group
muc-unused-list days list rooms without activity in last days
stats uptime-seconds uptime of ejabberd node in seconds
outgoing-s2s-number print number of outgoing s2s connections on the node
killsession user server resource kill a user session
pushroster file user server push template roster in file to user@server
load-config file load config from file
user-resources user server print user's connected resources
srg-create group host name description display create the group with options
get-cookie get the Erlang cookie of this node
export2odbc server output export Mnesia tables on server to files on output directory
connected-users-number print a number of established sessions
srg-user-add user server group host add user@server to group on host
muc-online-rooms list existing rooms
set-password user server password set password to user@server
delete-older-users days delete users that have not logged in the last 'days'
rem-rosteritem user1 server1 user2 server2 Remove user2@server2 from user1@server1's roster
compile file recompile and reload file
status-num status number of logged users with status
push-alltoall server group adds all the users to all the users in Group
srg-user-del user server group host delete user@server from group on host
connected-users list all established sessions
Example:
ejabberdctl ejabberd@host restart
[root@ATGC3-I_Boulot ~]#
[edit]2011-01-12 @ 06h43 SGT --- Correction erreur changement de nom pour le domaine dans une des commandes en ligne rapport2e (voir message de Jibe ci-après).[/edit]