From owner-freebsd-questions Tue Mar 12 11:24:57 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by hub.freebsd.org (Postfix) with ESMTP id 803CE37B442 for ; Tue, 12 Mar 2002 11:24:46 -0800 (PST) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id g2CJOit18554 for ; Tue, 12 Mar 2002 21:24:44 +0200 Message-Id: <200203121924.g2CJOit18554@lv.raad.tartu.ee> Received: from SpoolDir by INFO (Mercury 1.48); 12 Mar 02 21:24:02 +0200 From: "Toomas Aas" Organization: Tartu City Government To: freebsd-questions@freebsd.org Date: Tue, 12 Mar 2002 21:23:58 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Problems with SASLDB after upgrading cyrus-sasl X-info: Headers changed by Barricade Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello! I was previously running cyrus-sasl 1.5.24 and after today's security advisory decided to upgrade the port to latest, which is 1.5.27 After the upgrade the system seems unable to use the old sasldb database. I'm getting the following in the log: unable to open Berkeley db /usr/local/etc/sasldb: Invalid argument This happens when someone tries to authenticate to my Cyrus IMAP server, and also when I try to run saslpasswd from command line. After the upgrade I had these two files -rw-r----- 1 cyrus mail 24576 Mar 12 20:33 sasldb -rw-r----- 1 cyrus mail 45056 Mar 11 09:11 sasldb.db The newer 'sasldb' has modification date *after* the upgrade, whereas the older 'sasldb.db' has modification date *before* the upgrade. As the .db file is also bigger, I suspect that this is where all the passwords of my users are. I can add users to sasldb with saslpasswd, and then they can authenticate to IMAP server, but I don't want to re-enter all the users. I tried copying sasldb.db to sasldb, but this causes the 'Invalid argument' error message (see above). Is there a way for me to continue using the old password database with new cyrus-sasl? -- Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ * If you don't think women are explosive, drop one. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message