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 at 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 at localdomain.org -------------- next part -------------- A non-text attachment was scrubbed... Name: auth_passdb_bsdauth.patch Type: text/x-patch Size: 431 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20091011/108e93a2/attachment-0002.bin>