RES: [IRCServices] using a different database for user auth?

Diego Bitencourt Contezini diego at redesul.net
Wed Apr 30 04:27:19 PDT 2003


Im starting to code with xml-import/export and httpd module, a module
for where you can import databases from xml, possible on a week it will
be ready, than i send it to list....

Diego B. Contezini aka destruct_ at irc.redesul.net

-----Mensagem original-----
De: ircservices-bounces at ircservices.za.net
[mailto:ircservices-bounces at ircservices.za.net] Em nome de Andrew Church
Enviada em: quarta-feira, 30 de abril de 2003 01:10
Para: ircservices at ircservices.za.net
Assunto: Re: [IRCServices] using a different database for user auth?

     In the future, Services will (hopefully) support other methods of
data
storage, but something as unusual as you suggest would likely still need
a
custom module to be written.  As far as the current version of Services
goes, yes, you can use XML to update the databases, but be aware that
Services is not currently capable of importing XML data while running;
since it would not be advisable to allow anyone to restart Services by
creating a new account (think "while true ; do wget ... ; done"), you
could
set up a cron job to terminate Services, import any new/changed data,
and
restart Services periodically, say in the early morning.  (If you do
this,
make sure you use "kill" or "kill -TERM" to terminate Services--if you
use
"kill -INT" or other signals, Services will not save the databases on
exit.)

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>Hi,
>
>I have an interesting problem. I maintain the server for a large site
with a forum and fancy java chat system, currently the logins for the
java chat system are linked to the user accounts on the forum, which is
vBulletin. I wrot the login stuff myself in
> PHP.
>
>We'd like to do away with the java chat system for various reasons, and
possibly like to replace it with an IRC server. One of the main concerns
here is controllung use of nicknames. 
>
>Unfortunately, asking users to create two accounts (one on the forum,
one on the IRC server/services) isn't really an option. I must keep the
IRC services accounts in sync with the forum ones. 
>
>I have noticed that there is an inport function for the accounts used
by Services - I can easily create the XML file from the vBulletin
account data for Services to import, however, how should I keep this
updated? Should I simply have Services import the 
>current account data every hour or so? 
>
>There are approximately 8,000 accounts on the forum, but I don't expect
that more than 500 or so would create an IRC account.
>
>What is the best way to approach this? While I am more than willing to
code support for something like this myself, I'm afraid my C/C++ skills
are not up to the task at the moment.
>
>Does anyone have any other ideas about how to accomplish this? 
>
>Many thanks,
>
>Charlie
>
>------------------------------------------------------------------
------------------------------------------------------------------
To unsubscribe or change your subscription options, visit:
http://www.ircservices.za.net/mailman/listinfo/ircservices