you need another approach to this - a user needs to have all other users in his own roster ... there is no way (than this) to broadcast the presence of all other users beside either server hacking or component implementation.

(/me sees the next question already :D)

u



vijeesh ep wrote:

hi,
when developing a jabber client every user should know who else are online .is there 
any way to see this without having administrative jid?
we will not be able to give administrative privilage to all.


--- Ulrich Staudinger <[EMAIL PROTECTED]> wrote: 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='[EMAIL PROTECTED]/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
[EMAIL PROTECTED]
https://jabberstudio.org/mailman/listinfo/jdev










_____________________________________________________________
Linux.Net -->Open Source to everyone
Powered by Linare Corporation
http://www.linare.com/






_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
https://jabberstudio.org/mailman/listinfo/jdev

Reply via email to