19 Dec
2008
19 Dec
'08
6:25 a.m.
On Fri, 2008-12-19 at 02:53 +0300, Zohan wrote:
As we see, the first "if" block intercepts auth_request->passdb_password == NULL condition, ignoring auth_request->no_password and making line 127 (passdb_result = PASSDB_RESULT_OK) unreachable even if auth_request->no_password is set. For my local installation I've just removed the first "if" block (see patch in attachment), and it seems to fix the problem.
I was originally thinking that passdb_password should be "" there, but I guess it's not necessary. Fixed the code the way pretty much like you did: http://hg.dovecot.org/dovecot-1.1/rev/a47ddd8a67a4