saslpasswd2: Couldn't update db

Jukka Salmi j+asg at 2004.salmi.ch
Thu Oct 7 10:15:43 EDT 2004


Hi,

Carl Brewer --> info-cyrus (2004-10-07 12:08:01 +1000):
> sam wrote:
> >I found this problem is quite common in the cyrus-sasl user group. But I 
> >don't find any firm resolution to this problem.
> 
> For what it's worth, I see the same problem with a
> SASL install from NetBSD's pkgsrc (on NetBSD 1.6.2)
> 
> Very annoying ...
> 
> mail2: {91} file sasldb.db
> sasldb.db: Berkeley DB 1.85 (Hash, version 2, native byte-order)
> 
> It looks like you compiled from a pkgsrc install as well?
> 
> Maybe there's something broken in the pkg - I didn't see this
> on an older install of Cyrus on another NetBSD 1.6.2 server

I'm seeing the same on a NetBSD 2.0_RC3 system with Cyrus SASL 2.1.19
installed from current pkgsrc and SASL_DBTYPE unset (or set to ndbm)
during build time:

	Oct  7 15:46:51 bart saslpasswd2: setpass succeeded for testuser
	Oct  7 15:46:51 bart saslpasswd2: Couldn't update db


When setting SASL_DBTYPE=berkeley (thus linking against bdb 4.2.25),
saslpasswd2 logs the following when creating and deleting entries:

	Oct  7 15:56:32 bart saslpasswd2: setpass succeeded for nix
	Oct  7 15:56:32 bart saslpasswd2: error deleting entry from sasldb: DB_NOTFOUND: No matching key/data pair found


However, in both cases the entres are successfully created / deleted,
and the sasldb is working.


HTH, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list