# HG changeset patch # User Timo Sirainen # Date 1150557780 -10800 # Node ID 8846e6be0e0229863d353ee9081cd604f518e591 # Parent 10cdcfe98cfc7411ad377b873afbe4c0de3edb43 If multiple passdbs were configured and we tried to authenticate as user which was in more than one of them with different passwords, we gave "multiple passwords not supported" error. diff -r 10cdcfe98cfc -r 8846e6be0e02 src/auth/auth-request.c --- a/src/auth/auth-request.c Sat Jun 17 18:14:15 2006 +0300 +++ b/src/auth/auth-request.c Sat Jun 17 18:23:00 2006 +0300 @@ -314,6 +314,7 @@ /* this wasn't the final passdb lookup, continue to next passdb */ request->passdb = request->passdb->next; + request->passdb_password = NULL; return FALSE; } } @@ -326,6 +327,7 @@ *result != PASSDB_RESULT_USER_DISABLED) { /* try next passdb. */ request->passdb = request->passdb->next; + request->passdb_password = NULL; if (*result == PASSDB_RESULT_INTERNAL_FAILURE) { /* remember that we have had an internal failure. at