[JDEV] Re: Customizing Jabber server
Gerard BUNEL
gerard.bunel at ago.fr
Mon May 14 04:57:09 CDT 2001
Kevin Bryan a écrit :
> Here's what I did to make the xdb_sql module handle just
> authentication. I beleive that by using those <ns/> tags, you could
> specify whatever namespace you wish to handle. Note that the <ns/> in
> the second one is necessary and acts as a catch all. (Jabber 1.4)
>
> <xdb id="xdb_sql">
> <host/>
> <ns>jabber:iq:auth</ns>
> <ns>jabber:iq:auth:0k</ns>
> <load>
> <xdb_sql>./xdb_sql/xdb_sql.so</xdb_sql>
> </load>
> <jabberd:include>./xdb_sql/xdb_sql.xml</jabberd:include>
> </xdb>
> <xdb id="xdb">
> <host/>
> <ns/>
> <load>
> <xdb_file>./xdb_file/xdb_file.so</xdb_file>
> </load>
> <xdb_file xmlns="jabber:config:xdb_file">
> <spool><jabberd:cmdline flag='s'>./spool</jabberd:cmdline></spool>
> </xdb_file>
> </xdb>
>
> --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 ?
More information about the JDev
mailing list