[Dovecot] "nopassword" extra field useless with LDAP passdb

Timo Sirainen tss at iki.fi
Fri Dec 19 06:25:06 EET 2008


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081219/6b311107/attachment-0001.bin 


More information about the dovecot mailing list