Hi,
I'm trying to configure mod_authnz_external 3.2.4 to authenticate
against checkpassword program.
The program I use is written to comply with checkpassword interface
(
http://cr.yp.to/checkpwd.html), so it reads authentication info from
FD 3. Authentication fails with "checkpassword: bad fd (3)" message.
Seems like there is a regression against 3.1 branch, where special
handling was done for the case of checkpassword, see line 383 as of
3.1.0:
dup2(pipe_to_auth[0], usecheck ? 3 : 0);
I found no such handling in 3.2.4 source code, auth data is fed to
child process' stdin. Fortunately, I possess source code for that
program, so I can tweak it to use stdin if FD 3 is not available.
Nevertheless, are there any plans to bring checkpassword back in 3.2
branch?
Thanks,
Abanamat