[jdev] view online users

Ulrich Staudinger us at activestocks.de
Fri Apr 23 11:19:08 CDT 2004


As Tijl already said, your jid is not recognized as an administrator jid.
Only server administrators may use the <who/> command, plain users may not.

If you have administrative access to you server's configuration file, 
set the administrator jid to *your* jid and you'll be allowed to view 
the list of online users.

u

vijeesh ep wrote:

>The following problem occurs when I logged in to the jabber server. Actually I want to know the other online users. But when I try to send the stream the error “Not Allowed” occurs. Kindly tell me about how to view online users.
>
>The ScreenShot is given below
>   
>telnet 127.0.0.1 5222
>Trying 127.0.0.1...
>Connected to localhost.localdomain (127.0.0.1).
>Escape character is '^]'.
><stream:stream to='localhost' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>
>
>
><?xml version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' id='40892EDD' xmlns='jabber:client' from='localhost'>
> <iq id='auth2' type='set'>
>
>
>      <query xmlns='jabber:iq:auth'>
>        <username>jabberuser2</username>
>       <password>secret</password>
>    <resource>telnet</resource>
>      </query>
>     </iq>
>     
>
><iq id='auth2' type='result'/>
>
>
><presence/>
>
>
><iq type="get" to="localhost">
>       <query xmlns="jabber:iq:admin">
>         <who/>
>       </query>
>     </iq>
>
>
><iq type='error' to='jabberuser2 at localhost/telnet' from='localhost'>
>       <query xmlns='jabber:iq:admin'>
>         <who/>
>       </query>
>     <error code='405'>Not Allowed</error></iq>
>
>
>
>
>
>_____________________________________________________________
>Linux.Net -->Open Source to everyone
>Powered by Linare Corporation
>http://www.linare.com/
>_______________________________________________
>jdev mailing list
>jdev at jabber.org
>https://jabberstudio.org/mailman/listinfo/jdev
>
>
>  
>





More information about the JDev mailing list