Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jun 2005 17:01:40 -0500
From:      Scot Hetzel <swhetzel@gmail.com>
To:        Mark Edwards <mark@antsclimbtree.com>
Cc:        ports@freebsd.org
Subject:   Re: FreeBSD Port: cyrus-sasl-2.1.21 -- Couldn't update db
Message-ID:  <790a9fff050601150173d7bd34@mail.gmail.com>
In-Reply-To: <e3da8d252adb98ba8f33d12218e011c5@antsclimbtree.com>
References:  <e3da8d252adb98ba8f33d12218e011c5@antsclimbtree.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/30/05, Mark Edwards <mark@antsclimbtree.com> wrote:
> When I use saslpasswd2 to set or change a password, I always get a log
> item saying that saslpasswd2 "Coudn't update db" even though the
> password is changed successfully, the db file is modified, and
> subsequent authentication with the new password succeeds just fine.
>=20
> An example:
>=20
> May 30 03:46:13 lilbuddy saslpasswd2: setpass succeeded for
> cyrus@mail.antsclimbtree.com
> May 30 03:46:13 lilbuddy saslpasswd2: Couldn't update db
>=20
Been a while since I used the cyrus-sasl ports, but when I was
updating them, I had added to pkg-install:

echo "test" | ${PKG_PREFIX}/sbin/saslpasswd2 -p -c ${CYRUS_USER}
${PKG_PREFIX}/sbin/saslpasswd2 -d ${CYRUS_USER}

It would issue a warning, but still create a blank sasldb file.  Then
as you add new users to the sasldb file, it shouldn't give you any
further warnings.

NOTE: If you install with BATCH=3Dyes, then pkg-install will not create
the blank sasldb file, and you will get a warning on the first user
added.

Does the warning occur with the first user added (no previous
sasldb/sasldb2 file) or with every additional user added?

Scot



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff050601150173d7bd34>