summaryrefslogtreecommitdiff
path: root/monitor_wrap.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2015-08-11 13:33:24 +1000
committerColin Watson <cjwatson@debian.org>2015-08-19 18:32:19 +0100
commit5b83c6a466b2a7fe6aaf50e082c58fe63592e211 (patch)
treea45c3ffefe507592f84cc9baaf134c4e1760d4fa /monitor_wrap.c
parent12577aa167c76d517bfe78f603fe805f190d8d05 (diff)
Don't resend username to PAM; it already has it.
Pointed out by Moritz Jodeit; ok dtucker@ Origin: upstream, https://anongit.mindrot.org/openssh.git/commit/?id=d4697fe9a28dab7255c60433e4dd23cf7fce8a8b Forwarded: not-needed Last-Update: 2015-08-19 Patch-Name: backport-do-not-resend-username-to-pam.patch
Diffstat (limited to 'monitor_wrap.c')
-rw-r--r--monitor_wrap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/monitor_wrap.c b/monitor_wrap.c
index 2a0fe9bf6..e2fcf75ff 100644
--- a/monitor_wrap.c
+++ b/monitor_wrap.c
@@ -632,7 +632,6 @@ mm_sshpam_init_ctx(Authctxt *authctxt)
632 632
633 debug3("%s", __func__); 633 debug3("%s", __func__);
634 buffer_init(&m); 634 buffer_init(&m);
635 buffer_put_cstring(&m, authctxt->user);
636 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_INIT_CTX, &m); 635 mm_request_send(pmonitor->m_recvfd, MONITOR_REQ_PAM_INIT_CTX, &m);
637 debug3("%s: waiting for MONITOR_ANS_PAM_INIT_CTX", __func__); 636 debug3("%s: waiting for MONITOR_ANS_PAM_INIT_CTX", __func__);
638 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PAM_INIT_CTX, &m); 637 mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_PAM_INIT_CTX, &m);