[Dovecot] Multiple auth method problem

Timshel Knoll-Miller timshel at shels.net
Sun Apr 3 13:17:30 EEST 2005


Thanks very much - I downloaded today's nightly source and it fixes the 
problem. Now I can use both my virtual domains and local users! Very nice!

Faithfully,

Timshel

Timo Sirainen wrote:

>On Tue, 2005-03-29 at 22:15 +1000, Timshel Knoll-Miller wrote:
>  
>
>>Mar 29 21:57:05 rivendell dovecot: auth-worker(default): BUG: PASSV had 
>>invalid passdb num
>>    
>>
>
>This should fix it:
>
>Index: auth-worker-client.c
>===================================================================
>RCS file: /var/lib/cvs/dovecot/src/auth/auth-worker-client.c,v
>retrieving revision 1.6
>diff -u -r1.6 auth-worker-client.c
>--- auth-worker-client.c	24 Mar 2005 22:35:37 -0000	1.6
>+++ auth-worker-client.c	2 Apr 2005 21:18:33 -0000
>@@ -128,7 +128,7 @@
> 	auth_request->mech_password =
> 		p_strdup(auth_request->pool, password);
> 
>-	for (; num > 0; num++) {
>+	for (; num > 0; num--) {
> 		auth_request->passdb = auth_request->passdb->next;
> 		if (auth_request->passdb == NULL) {
> 			i_error("BUG: PASSV had invalid passdb num");
>
>  
>




More information about the dovecot mailing list