diff options
author | Damien Miller <djm@mindrot.org> | 2015-08-11 13:33:24 +1000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-11-24 20:45:17 +0000 |
commit | 4e1468d9745c5e32d99cd85386dfc74e90a5cf14 (patch) | |
tree | c8718e71500b3ff109de2d475c4bbd9f3dfcf405 /monitor.c | |
parent | fe597b453a89c6d1dcbbd91cacef80adc3b52fc9 (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.c')
-rw-r--r-- | monitor.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -1127,9 +1127,7 @@ extern KbdintDevice sshpam_device; | |||
1127 | int | 1127 | int |
1128 | mm_answer_pam_init_ctx(int sock, Buffer *m) | 1128 | mm_answer_pam_init_ctx(int sock, Buffer *m) |
1129 | { | 1129 | { |
1130 | |||
1131 | debug3("%s", __func__); | 1130 | debug3("%s", __func__); |
1132 | authctxt->user = buffer_get_string(m, NULL); | ||
1133 | sshpam_ctxt = (sshpam_device.init_ctx)(authctxt); | 1131 | sshpam_ctxt = (sshpam_device.init_ctx)(authctxt); |
1134 | sshpam_authok = NULL; | 1132 | sshpam_authok = NULL; |
1135 | buffer_clear(m); | 1133 | buffer_clear(m); |