Bugzilla – Attachment 894 Details for
Bug 1028
sshd does not forward final non-query conversations to client during pam auth
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
send output from pam modules as info text
openssh-pam-fail-info.patch (text/plain), 811 bytes, created by
Darren Tucker
on 2005-05-02 16:06:08 AEST
(
hide
)
Description:
send output from pam modules as info text
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2005-05-02 16:06:08 AEST
Size:
811 bytes
patch
obsolete
>Index: auth-pam.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/auth-pam.c,v >retrieving revision 1.121 >diff -u -p -r1.121 auth-pam.c >--- auth-pam.c 20 Jan 2005 02:29:51 -0000 1.121 >+++ auth-pam.c 2 May 2005 05:49:45 -0000 >@@ -691,8 +691,18 @@ sshpam_query(void *ctx, char **name, cha > plen++; > xfree(msg); > break; >- case PAM_SUCCESS: > case PAM_AUTH_ERR: >+ debug3("PAM: PAM_AUTH_ERR"); >+ if (**prompts != NULL && strlen(**prompts) != 0) { >+ *info = **prompts; >+ **prompts = NULL; >+ *num = 0; >+ **echo_on = 0; >+ ctxt->pam_done = -1; >+ return 0; >+ } >+ /* FALLTHROUGH */ >+ case PAM_SUCCESS: > if (**prompts != NULL) { > /* drain any accumulated messages */ > debug("PAM: %s", **prompts);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1028
: 894