[Dovecot] Multiple auth method problem

Timo Sirainen tss at iki.fi
Sun Apr 3 00:19:17 EEST 2005


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");

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20050403/b9a35a7a/attachment-0001.bin>


More information about the dovecot mailing list