Re: [jabberd2] jabberd with berkeley db backend?

2008-04-08 Thread Daniel Willmann
On Mon, 07 Apr 2008 15:24:08 +0200 Tomasz Sterna <[EMAIL PROTECTED]> wrote: > Dnia 2008-04-07, pon o godzinie 14:52 +0200, Daniel Willmann pisze: > > Can you tell me what changes were made to the db stucture (or point > > to some kind of diff) and I'll update the script. > > Sorry, but I don't rea

Re: [jabberd2] jabberd with berkeley db backend?

2008-04-07 Thread Scott Baker
Harald Braumann wrote: BTW. The script is really simple, so I guess it could be easily extended to support authreg, as well. It outputs an XML file which can be converted to whatever you want by an XSLT. I've published one once, which outputs an SQL script for MySQL, but can't find it anymore so

Re: [jabberd2] jabberd with berkeley db backend?

2008-04-07 Thread Harald Braumann
On Mon, 07 Apr 2008 12:05:47 -0700 Scott Baker <[EMAIL PROTECTED]> wrote: > Harald Braumann wrote: > >> This is from my brand new Fedora 8 Jabberd2 installation: > >> > >> :perl bdbdump.pl authreg.db > >> bdbdump.pl: open db authreg.db ... > >> bdbdump.pl: OK > >> bdbdump.pl: walking sub dbs ... >

Re: [jabberd2] jabberd with berkeley db backend?

2008-04-07 Thread Scott Baker
Harald Braumann wrote: This is from my brand new Fedora 8 Jabberd2 installation: :perl bdbdump.pl authreg.db bdbdump.pl: open db authreg.db ... bdbdump.pl: OK bdbdump.pl: walking sub dbs ... bdbdump.pl: found sub db jabber.perturb.org bdbdump.pl: dump db jabber.perturb.org ... bdbdump.pl: Error

Re: [jabberd2] jabberd with berkeley db backend?

2008-04-07 Thread Harald Braumann
On Mon, 07 Apr 2008 08:07:46 -0700 Scott Baker <[EMAIL PROTECTED]> wrote: > Harald Braumann wrote: > > On Sat, 05 Apr 2008 11:48:32 +0200 > > Tomasz Sterna <[EMAIL PROTECTED]> wrote: > > > >> Dnia 2008-04-04, pią o godzinie 08:11 -0700, Scott Baker pisze: > >>> I'd LOVE to do that. I wish I'd kno

Re: [jabberd2] jabberd with berkeley db backend?

2008-04-07 Thread Scott Baker
Harald Braumann wrote: On Sat, 05 Apr 2008 11:48:32 +0200 Tomasz Sterna <[EMAIL PROTECTED]> wrote: Dnia 2008-04-04, pią o godzinie 08:11 -0700, Scott Baker pisze: I'd LOVE to do that. I wish I'd known that was an option two days ago before I deployed (I had old docs). Is there a way to convert

Re: [jabberd2] jabberd with berkeley db backend?

2008-04-07 Thread Tomasz Sterna
Dnia 2008-04-07, pon o godzinie 14:52 +0200, Daniel Willmann pisze: > Can you tell me what changes were made to the db stucture (or point to > some kind of diff) and I'll update the script. > Sorry, but I don't really have the time right now to find the > differences myself. :-( Columns "token", "

Re: [jabberd2] jabberd with berkeley db backend?

2008-04-07 Thread Daniel Willmann
On Sat, 05 Apr 2008 11:48:32 +0200 Tomasz Sterna <[EMAIL PROTECTED]> wrote: > Dnia 2008-04-04, pią o godzinie 08:11 -0700, Scott Baker pisze: > > I'd LOVE to do that. I wish I'd known that was an option two days > > ago before I deployed (I had old docs). Is there a way to convert > > to SQLite?

Re: [jabberd2] jabberd with berkeley db backend?

2008-04-05 Thread Tomasz Sterna
Dnia 2008-04-05, sob o godzinie 22:09 +0200, Harald Braumann pisze: > > There is a tool to dump BDB to MySQL in tools/ directory. Maybe it > > could be used to move to SQLite. > > Unfortunately, it does not work with current DB schema - I hope it > > gets fixed soon. > > What does not work? bdbdum

Re: [jabberd2] jabberd with berkeley db backend?

2008-04-05 Thread Harald Braumann
On Sat, 05 Apr 2008 11:48:32 +0200 Tomasz Sterna <[EMAIL PROTECTED]> wrote: > Dnia 2008-04-04, pią o godzinie 08:11 -0700, Scott Baker pisze: > > I'd LOVE to do that. I wish I'd known that was an option two days > > ago before I deployed (I had old docs). Is there a way to convert > > to SQLite?

Re: [jabberd2] jabberd with berkeley db backend?

2008-04-05 Thread Tomasz Sterna
Dnia 2008-04-04, pią o godzinie 08:11 -0700, Scott Baker pisze: > I'd LOVE to do that. I wish I'd known that was an option two days > ago before I deployed (I had old docs). Is there a way to convert to > SQLite? There is a tool to dump BDB to MySQL in tools/ directory. Maybe it could be used to

Re: [jabberd2] jabberd with berkeley db backend?

2008-04-04 Thread Scott Baker
Tomasz Sterna wrote: Dnia 2008-04-03, czw o godzinie 13:40 -0700, Scott Baker pisze: I have (for simplicity) a berkeley db backend for my jabberd2 [...] How do I look up, or reset a users password with a BerkeleyDB backend? You would need to write a custom tool to access this data. For simp

Re: [jabberd2] jabberd with berkeley db backend?

2008-04-04 Thread Tomasz Sterna
Dnia 2008-04-03, czw o godzinie 13:40 -0700, Scott Baker pisze: > I have (for simplicity) a berkeley db backend for my jabberd2 [...] > How do I look up, or reset a users password with a BerkeleyDB backend? You would need to write a custom tool to access this data. For simplicity, I would rather

[jabberd2] jabberd with berkeley db backend?

2008-04-03 Thread Scott Baker
I have (for simplicity) a berkeley db backend for my jabberd2 server. It works great for both auth and storage. Now I have a user who forgot their password. The authreg.db file is apparently some hybrid crazy BerkelyDB because I can't db_dump or connect to it via perl. How do I look up, or re