[JDEV] Patch for Jabber Server v1.4

Rodolphe Duge de Bernonville rod at idealx.com
Fri Jun 15 05:02:15 CDT 2001


Aurélien Gâteau a écrit :
> 
> Hi !
> 
> I'm pretty new to this list (I just subscribed five minutes ago :o), so please tell me if I don't do everything as I should.
> 
> My company is developping a peer-to-peer application for genealogists and we are in the process of adding support for
> Instant Messaging, thanks to Jabber.
> 
> Our server is running MS SQL Server 2000. As it doesn't seem possible to get Jabber use a SQL Server database for
> users yet, we decided to create/update/delete users on Jabber whenever the SQL Server database was modified. I
> created a tool to register user on the Jabber server when such changes happened and a tool to automatically recreate
> Jabber users from the SQL Server users to get the existing users up to date and to be able to resynchronize Jabber in
> case anything bad happens...
> This tool was often getting connection limited by the Jabber server. Therefore I modified the server to allow bypassing
> Karma for a specific address. In the xml config file, you need to do something like this :
> <jabber>
> ...
>   <io>
> ...
>     <karma>
>       <bypass>12.13.14.15</bypass>
> ...
>     </karma>
> ...
>   </io>
> ...
> </jabber>
> 
> It's a little rough right now (no multiple IP or masks) but it seems to work well.
> Could you tell me what you think about it ?
> 

hello !

well its a solution ... but maybe not the best ...
you could change your database and use xdb_sql
(http://download.jabber.org/contrib/)
(or rewrite it to acces MS SQL Server directly or via ODBC ?).
a simpler solution would also be to create xml user file in
jabber/spool/your_host
with a little script.



More information about the JDev mailing list