[SCM] Samba Shared Repository - branch v3-0-test updated -
release-3-0-29-35-g5ec3197
Günther Deschner
gd at samba.org
Wed Jun 11 07:57:23 GMT 2008
The branch, v3-0-test has been updated
via 5ec31972e05b0479c615bf64f8fa147ab501345b (commit)
from 80c39eefffe0ad43d3498ae2eae3aaeb9c259c79 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test
- Log -----------------------------------------------------------------
commit 5ec31972e05b0479c615bf64f8fa147ab501345b
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!
-----------------------------------------------------------------------
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 5993840..eff9101 100644
--- a/source/nsswitch/pam_winbind.c
+++ b/source/nsswitch/pam_winbind.c
@@ -1181,6 +1181,10 @@ static int winbind_chauthtok_request(pam_handle_t * pamh,
request.flags = WBFLAG_PAM_KRB5 | WBFLAG_PAM_CONTACT_TRUSTDOM;
}
+ if (ctrl & WINBIND_CACHED_LOGIN) {
+ request.flags |= WBFLAG_PAM_CACHED_LOGIN;
+ }
+
ret = pam_winbind_request_log(pamh, ctrl, WINBINDD_PAM_CHAUTHTOK, &request, &response, user);
if (ret == PAM_SUCCESS) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list