summaryrefslogtreecommitdiffstats
path: root/monitor.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2006-05-21 10:26:40 +0200
committerDarren Tucker <dtucker@zip.com.au>2006-05-21 10:26:40 +0200
commitf14b2aa6725f93dce537a0d693d3562c53a85b19 (patch)
tree8963bedc38d0d631428699d863306e7f121f5e96 /monitor.c
parent - (dtucker) [ssh-rand-helper.c] Check return code of mkdir and fix file (diff)
downloadopenssh-f14b2aa6725f93dce537a0d693d3562c53a85b19.tar.xz
openssh-f14b2aa6725f93dce537a0d693d3562c53a85b19.zip
- (dtucker) [auth.c monitor.c] Now that we don't log from both the monitor
and slave, we can remove the special-case handling in the audit hook in auth_log.
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/monitor.c b/monitor.c
index 4b8287d85..08919ddfc 100644
--- a/monitor.c
+++ b/monitor.c
@@ -909,6 +909,7 @@ mm_answer_pam_query(int sock, Buffer *m)
xfree(prompts);
if (echo_on != NULL)
xfree(echo_on);
+ auth_method = "keyboard-interactive/pam";
mm_request_send(sock, MONITOR_ANS_PAM_QUERY, m);
return (0);
}
@@ -951,6 +952,7 @@ mm_answer_pam_free_ctx(int sock, Buffer *m)
(sshpam_device.free_ctx)(sshpam_ctxt);
buffer_clear(m);
mm_request_send(sock, MONITOR_ANS_PAM_FREE_CTX, m);
+ auth_method = "keyboard-interactive/pam";
return (sshpam_authok == sshpam_ctxt);
}
#endif