SASLDB2.DB

A Clockwork Orange leo at cfe.ru
Thu Jul 29 09:52:48 EDT 2004


Hi there


FreeBSD 4.10

I installed from ports
cyrus-imapd-2.2.3
cyrus-sasl-2.1.18

/usr/local/etc/imapd.conf

sasl_pwcheck_method: saslauthd

saslauthd is started up

/usr/local/sbin/saslauthd -a sasldb

When I start imapd.sh I see 

Jul 29 14:52:20 hola master[31402]: process started
Jul 29 14:52:20 hola ctl_cyrusdb[31403]: recovering cyrus databases
Jul 29 14:52:20 hola ctl_cyrusdb[31403]: skiplist: recovered /var/imap/mailboxes.db (1 record, 280 bytes) in 0 seconds
Jul 29 14:52:20 hola ctl_cyrusdb[31403]: done recovering cyrus databases
Jul 29 14:52:20 hola master[31402]: ready for work
Jul 29 14:52:20 hola ctl_cyrusdb[31404]: checkpointing cyrus databases
Jul 29 14:52:20 hola ctl_cyrusdb[31404]: DBERROR: error listing log files: DB_NOTFOUND: No matching key/data pair found
Jul 29 14:52:20 hola ctl_cyrusdb[31404]: DBERROR: archive /var/imap/db: cyrusdb error
Jul 29 14:52:20 hola ctl_cyrusdb[31404]: DBERROR: error listing log files: DB_NOTFOUND: No matching key/data pair found
Jul 29 14:52:20 hola ctl_cyrusdb[31404]: DBERROR: archive /var/imap/db: cyrusdb error
Jul 29 14:52:20 hola ctl_cyrusdb[31404]: done checkpointing cyrus databases

When I create user
saslpasswd2 -c test7 

I get
Jul 29 14:54:33 hola saslpasswd2: setpass succeeded for test7
Jul 29 14:54:33 hola saslpasswd2: Couldn't update db

When I authentification I get

Jul 29 14:55:24 hola imap[31417]: no user in db
Jul 29 14:55:24 hola imap[31417]: login: localhost.strs.ru [127.0.0.1] test7 DIGEST-MD5 User logged in


and authentification works

I have /usr/local/etc/sasldb2.db. It changes when I created and deleted users

WHAT IS IT?

AND HOW TO TURN USER WITH THEIR PASS's FROM cyrus-imapd-2.0.17 INTO cyrus-imapd-2.2.3_3


Cheers & beers

---
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