Bugzilla – Attachment 675 Details for
Bug 559
PAM fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pass PAM_DISALLOW_NULL_AUTHTOK to kbdint too.
openssh-pam-kbdint-nullauthtok.patch (text/plain), 855 bytes, created by
Darren Tucker
on 2004-07-01 13:43:33 AEST
(
hide
)
Description:
pass PAM_DISALLOW_NULL_AUTHTOK to kbdint too.
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2004-07-01 13:43:33 AEST
Size:
855 bytes
patch
obsolete
>Index: auth-pam.c >=================================================================== >RCS file: /var/cvs/openssh/auth-pam.c,v >retrieving revision 1.109 >diff -u -p -r1.109 auth-pam.c >--- auth-pam.c 1 Jul 2004 02:38:15 -0000 1.109 >+++ auth-pam.c 1 Jul 2004 03:41:35 -0000 >@@ -356,6 +356,8 @@ sshpam_thread(void *ctxtp) > struct pam_ctxt *ctxt = ctxtp; > Buffer buffer; > struct pam_conv sshpam_conv; >+ int flags = (options.permit_empty_passwd == 0 ? >+ PAM_DISALLOW_NULL_AUTHTOK : 0); > #ifndef USE_POSIX_THREADS > extern char **environ; > char **env_from_pam; >@@ -378,7 +380,7 @@ sshpam_thread(void *ctxtp) > (const void *)&sshpam_conv); > if (sshpam_err != PAM_SUCCESS) > goto auth_fail; >- sshpam_err = pam_authenticate(sshpam_handle, 0); >+ sshpam_err = pam_authenticate(sshpam_handle, flags); > if (sshpam_err != PAM_SUCCESS) > goto auth_fail; >
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
Flags:
djm
:
ok+
Actions:
View
|
Diff
Attachments on
bug 559
:
289
|
292
| 675