The Samba-Bugzilla – Attachment 4706 Details for
Bug 6735
pam_sm_chauthtok must not overwrite old password and new password as it might be used by following pam modules
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for v3-4-test
pwd-overwrite-in-pam_winbind-v3-4-test-mbox.diff (text/plain), 1.13 KB, created by
Bo Yang
on 2009-09-16 10:00:08 UTC
(
hide
)
Description:
patch for v3-4-test
Filename:
MIME Type:
Creator:
Bo Yang
Created:
2009-09-16 10:00:08 UTC
Size:
1.13 KB
patch
obsolete
>From 30ec5c60225b7b1677c78bbb2cb97531a65c9d24 Mon Sep 17 00:00:00 2001 >From: Bo Yang <boyang@samba.org> >Date: Wed, 16 Sep 2009 23:57:01 +0800 >Subject: [PATCH] s3: Don't overwrite password in pam_winbind, subsequent pam modules > might use the old password and new password. > >Signed-off-by: Bo Yang <boyang@samba.org> >--- > nsswitch/pam_winbind.c | 4 ---- > 1 files changed, 0 insertions(+), 4 deletions(-) > >diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c >index 4a44248..35cbc3b 100644 >--- a/nsswitch/pam_winbind.c >+++ b/nsswitch/pam_winbind.c >@@ -3056,8 +3056,6 @@ int pam_sm_chauthtok(pam_handle_t * pamh, int flags, > ret = winbind_chauthtok_request(ctx, user, pass_old, > pass_new, pwdlastset_update); > if (ret) { >- _pam_overwrite(pass_new); >- _pam_overwrite(pass_old); > pass_old = pass_new = NULL; > goto out; > } >@@ -3086,8 +3084,6 @@ int pam_sm_chauthtok(pam_handle_t * pamh, int flags, > member, cctype, 0, > &error, &info, &policy, > NULL, &username_ret); >- _pam_overwrite(pass_new); >- _pam_overwrite(pass_old); > pass_old = pass_new = NULL; > > if (ret == PAM_SUCCESS) { >-- >1.5.3 >
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 Raw
Actions:
View
Attachments on
bug 6735
:
4705
| 4706 |
4707