mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
pam_winbind: Update cached creds during password change.
Fix is from Bo Yang @ Novell. Thanks! (This used to be commit e4eb9d347d14de8c9ba73b07f26fe8fd4f17eab5)
This commit is contained in:
parent
9883567fa7
commit
8e240c460b
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user