Skip to content


Don't resend username to PAM; it already has it.
Browse files Browse the repository at this point in the history
Pointed out by Moritz Jodeit; ok dtucker@
  • Loading branch information
djmdjm committed Aug 11, 2015
1 parent 88763a6 commit d4697fe
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions monitor.c
Expand Up @@ -1084,9 +1084,7 @@ extern KbdintDevice sshpam_device;
mm_answer_pam_init_ctx(int sock, Buffer *m)

debug3("%s", __func__);
authctxt->user = buffer_get_string(m, NULL);
sshpam_ctxt = (sshpam_device.init_ctx)(authctxt);
sshpam_authok = NULL;
Expand Down
1 change: 0 additions & 1 deletion monitor_wrap.c
Expand Up @@ -614,7 +614,6 @@ mm_sshpam_init_ctx(Authctxt *authctxt)

debug3("%s", __func__);
buffer_put_cstring(&m, authctxt->user);
mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_INIT_CTX, &m);
debug3("%s: waiting for MONITOR_ANS_PAM_INIT_CTX", __func__);
mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PAM_INIT_CTX, &m);
Expand Down

0 comments on commit d4697fe

Please sign in to comment.