"Stefan Hornburg (Racke)" <[email protected]> writes:
> OK, I'll forward this as well. Can you please provide a patch adding the
> pam_end call?
Sure thing. It should be as simple as just this:
--- a/authpam.c.orig 2006-10-28 12:22:52.000000000 -0700
+++ b/authpam.c 2012-04-25 08:14:35.000000000 -0700
@@ -222,6 +222,7 @@
{
close(pipefd[0]);
retval=dopam(&pamh);
+ pam_end(pamh, retval);
if (retval == PAM_SUCCESS)
if (write(pipefd[1], "", 1) < 0)
; /* ignore gcc warning */
Note that this change would need to be undone if the #if 0 code were ever
re-enabled.
--
Russ Allbery ([email protected]) <http://www.eyrie.org/~eagle/>
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]