[Dovecot] checkpassword auth issues

Timo Sirainen tss at iki.fi
Tue Jan 20 01:02:35 EET 2009


On Mon, 2009-01-19 at 14:51 -0800, Tim Traver wrote:
> Timo Sirainen wrote:
> > On Mon, 2009-01-19 at 12:17 -0800, Tim Traver wrote:
> >   
> >> Is it possible that checks for the return code from calling the
> >> checkpassword script have changed between the versions??? I currently
> >> exit the checkpassword script with _exit(0); to make the status 0 when
> >> it is successful, and I also set the AUTHORIZED environment variable to
> >> "2" as told...
> >>     
> >
> > Don't set AUTHORIZED environment. It's only if you're using it as a
> > userdb (but you're using prefetch).
> >
> >   
> Timo,
> 
> Thanks. That did it...although I'm not sure why it worked ok in 1.1.8,
> but all fixed...

v1.1 doesn't support userdb checkpassword at all and just ignores the
AUTHORIZED environment. I improved the error message now:

Child %s exited with status 2 (tried to use userdb-only checkpassword
program for passdb?)
-------------- 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/20090119/825a8a09/attachment.bin 


More information about the dovecot mailing list