[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-2556-g49178f9
Günther Deschner
gd at samba.org
Wed Jun 11 07:54:18 GMT 2008
The branch, v3-2-test has been updated
via 49178f979f14ced834dda3104044bb8a84d4ebdb (commit)
from 346375cda557a675f8f882ca2ae8edffec725a72 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 49178f979f14ced834dda3104044bb8a84d4ebdb
Author: Günther Deschner <gd at samba.org>
Date: Wed Jun 11 09:52:56 2008 +0200
pam_winbind: Update cached creds during password change.
Fix is from Bo Yang @ Novell.
Thanks!
(cherry picked from commit e4eb9d347d14de8c9ba73b07f26fe8fd4f17eab5)
-----------------------------------------------------------------------
Summary of changes:
source/nsswitch/pam_winbind.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/nsswitch/pam_winbind.c b/source/nsswitch/pam_winbind.c
index 7288d7a..e42199c 100644
--- a/source/nsswitch/pam_winbind.c
+++ b/source/nsswitch/pam_winbind.c
@@ -1445,6 +1445,10 @@ static int winbind_chauthtok_request(struct pwb_context *ctx,
WBFLAG_PAM_CONTACT_TRUSTDOM;
}
+ if (ctx->ctrl & WINBIND_CACHED_LOGIN) {
+ request.flags |= WBFLAG_PAM_CACHED_LOGIN;
+ }
+
ret = pam_winbind_request_log(ctx, WINBINDD_PAM_CHAUTHTOK,
&request, &response, user);
--
Samba Shared Repository
More information about the samba-cvs
mailing list