Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Converting Berkeley DB to GNU dbm
- Date: Tue, 03 Sep 2002 15:48:04 +0800
- From: "Shimpei Yamashita" <shimpei@example.com>
- Subject: Re: [tlug] Converting Berkeley DB to GNU dbm
On 9/3/2002, "A. Sajjad Zaidi" <sajjad@example.com> wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >An old server has qpopper setup so that passwords are stored in >'Berkeley DB' format. Now I want to transfer these passwords to a new >server with a newer version of qpopper (4.0.4). > >The file this new version created shows up as a >'GNU dbm 1.x or ndbm database, little endian' file. Does anyone know of >a way to convert the format of the old one to this new one? If you can't find a customized tool, try hacking one together using the DB_File and GDBM_File modules in perl. Tie the old password file to a DB_File hash, tie the new password to a GDBM_File hash, do a foreach(keys()) through the old file and populate the new file. Should work--in theory, assuming that things like password encoding format haven't changed. Shimpei. -- Shimpei Yamashita shimpei@example.com
- Follow-Ups:
- Re: [tlug] Converting Berkeley DB to GNU dbm
- From: A. Sajjad Zaidi
- References:
- [tlug] Converting Berkeley DB to GNU dbm
- From: A. Sajjad Zaidi
Home | Main Index | Thread Index
- Prev by Date: [tlug] Converting Berkeley DB to GNU dbm
- Next by Date: Re: [tlug] Converting Berkeley DB to GNU dbm
- Previous by thread: [tlug] Converting Berkeley DB to GNU dbm
- Next by thread: Re: [tlug] Converting Berkeley DB to GNU dbm
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links