[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-2808-ge4eb9d3

Günther Deschner gd at samba.org
Wed Jun 11 07:53:32 GMT 2008


The branch, v3-3-test has been updated
       via  e4eb9d347d14de8c9ba73b07f26fe8fd4f17eab5 (commit)
      from  ec278d8bc82e86c98d24277eb50633f8cd4c7600 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit e4eb9d347d14de8c9ba73b07f26fe8fd4f17eab5
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 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