[Dovecot] bsdauth with cache_key failed
hi
i test bsdauth with cache_key=%u on OpenBSD and get this error
Oct 8 10:04:11 pegasus dovecot: Dovecot v1.2.6 starting up Oct 8 10:04:12 pegasus dovecot: auth(default): Panic: file passdb.c: line 201 (passdb_init): assertion failed: (passdb->passdb->default_pass_scheme != NULL || passdb->passd b->cache_key == NULL) Oct 8 10:04:12 pegasus dovecot: dovecot: child 8407 (auth) killed with signal 6 (core not dumped)
Oct 8 10:04:12 pegasus dovecot: dovecot: Fatal: Auth process died too early - shutting down
# 1.2.6: /etc/dovecot.conf # OS: OpenBSD 4.6 i386 base_dir: /var/dovecot/ protocols: imaps listen: *, [::] ssl_cert_file: /etc/ssl/certs/imap.pem ssl_key_file: /etc/ssl/private/imap.pem login_dir: /var/dovecot/login login_executable: /usr/local/libexec/dovecot/imap-login login_user: _dovecot login_max_processes_count: 32 max_mail_processes: 32 first_valid_uid: 1000 first_valid_gid: 1000 mail_location: maildir:~/Maildir mbox_write_locks: fcntl mail_plugins: expire lda: postmaster_address: postmaster@rueger-net.de hostname: pegasus.rueger-net.de mail_plugins: expire sieve auth_socket_path: /var/dovecot/auth-master auth default: cache_size: 1024 passdb: driver: bsdauth args: cache_key=%u userdb: driver: passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 438 user: _postfix master: path: /var/dovecot/auth-master mode: 384 plugin: expire: Trash* 7 Spam* 7 Lists* 30 expire_dict: proxy::expire auth_socket_path: /var/dovecot/auth-master sieve_dir: ~/.sieve dict: expire: sqlite:/etc/dovecot/expire.conf
On 10/08/2009 10:48 AM Christian Rueger wrote:
hi
i test bsdauth with cache_key=%u on OpenBSD and get this error
Oct 8 10:04:11 pegasus dovecot: Dovecot v1.2.6 starting up Oct 8 10:04:12 pegasus dovecot: auth(default): Panic: file passdb.c: line 201 (passdb_init): assertion failed: (passdb->passdb->default_pass_scheme != NULL || passdb->passd b->cache_key == NULL) Oct 8 10:04:12 pegasus dovecot: dovecot: child 8407 (auth) killed with signal 6 (core not dumped)
hi,
the attached patch has solved this issue on my OpenBSD system.
Regards, Pascal
The trapper recommends today: face1e55.0928419@localdomain.org
On Sun, 2009-10-11 at 19:44 +0200, Pascal Volk wrote:
Oct 8 10:04:12 pegasus dovecot: auth(default): Panic: file passdb.c: line 201 (passdb_init): assertion failed: (passdb->passdb->default_pass_scheme != NULL || passdb->passd b->cache_key == NULL) Oct 8 10:04:12 pegasus dovecot: dovecot: child 8407 (auth) killed with signal 6 (core not dumped)
hi,
the attached patch has solved this issue on my OpenBSD system.
module->default_pass_scheme = "PLAIN";
I think the passwords come in CRYPT format, not PLAIN? I added that.
participants (3)
-
Christian Rueger
-
Pascal Volk
-
Timo Sirainen