#This patch was created by Matthew Kanar for courier-imap-3.0.0 --- ../courier-imap-2.2.2.20040207/authlib/authvchkpw.c 2004-01-14 22:17:01.000000000 -0500 +++ authlib/authvchkpw.c 2004-03-02 12:52:52.000000000 -0500 @@ -190,7 +190,7 @@ * - user's password field in the passwd entry is empty * - supplied current password doesnt match stored password */ - if (vpw->pw_passwd || authcheckpassword(pass, vpw->pw_passwd)) { + if (vpw->pw_passwd == 0 || authcheckpassword(pass, vpw->pw_passwd)) { errno=EPERM; return (-1); }