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?)