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.0928...@localdomain.org
diff -r 73c4a7d325fe src/auth/passdb-bsdauth.c
--- a/src/auth/passdb-bsdauth.c	Fri Oct 09 20:33:27 2009 -0400
+++ b/src/auth/passdb-bsdauth.c	Sun Oct 11 17:29:18 2009 +0000
@@ -59,6 +59,7 @@
 		module->cache_key =
 			auth_cache_parse_key(auth_passdb->auth->pool,
 					     args + 10);
+		module->default_pass_scheme = "PLAIN";
 	} else if (*args != '\0')
 		i_fatal("passdb bsdauth: Unknown setting: %s", args);
 	return module;

Reply via email to