Re: [JDEV] Re: Customizing Jabber server

2001-05-14 Thread Gerard BUNEL



Kevin Bryan a écrit :

> Here's what I did to make the xdb_sql module handle just
> authentication.  I beleive that by using those  tags, you could
> specify whatever namespace you wish to handle.  Note that the  in
> the second one is necessary and acts as a catch all.  (Jabber 1.4)
>
>   
> 
> jabber:iq:auth
> jabber:iq:auth:0k
> 
>   ./xdb_sql/xdb_sql.so
> 
> ./xdb_sql/xdb_sql.xml
>   
>   
> 
> 
> 
>   ./xdb_file/xdb_file.so
> 
> 
>   ./spool
> 
>   
>
> --Kevin
>

OK, I've tested this way to do except that I use the base_accept for my
component.
But here I'm a little disapointed: I can see the jabber:iq:auth XDB request
when I try to log in.
but this one is followed by the same requests for all items in my buddy list
???
Is there any reason for that ?
based on this I cannot use this to state that a user is connected.
So my conclusion is that I must override the mod_auth. Am I correct ?


___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev



[JDEV] Re: Customizing Jabber server

2001-05-11 Thread Kevin Bryan

Here's what I did to make the xdb_sql module handle just
authentication.  I beleive that by using those  tags, you could
specify whatever namespace you wish to handle.  Note that the  in
the second one is necessary and acts as a catch all.  (Jabber 1.4)


  

jabber:iq:auth
jabber:iq:auth:0k

  ./xdb_sql/xdb_sql.so

./xdb_sql/xdb_sql.xml
  
  



  ./xdb_file/xdb_file.so


  ./spool

  

--Kevin

[EMAIL PROTECTED] wrote:

> Message: 1
>
> Subject: Re: [JDEV] Customizing Jabber server
>
> Is this true ? If so i'm really interested in more details on the
> subject.
> As I'm only interested in some XDB requests (AUTH or Rosters for
> example), and only the one used for users
> not global datas, I'm interested in submiting other requests to normal
> XDB module (xdb_file) I'd like to
> implement this. I imagine that's just a matter of configuration in
> jabber.xml file but what has to be put in
> this file so that to handlers can be registered for the same namespace ?
> 
> Any answer to this question ?
>
___
jdev mailing list
[EMAIL PROTECTED]
http://mailman.jabber.org/listinfo/jdev