diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/pam_winbind.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/nsswitch/pam_winbind.c b/source3/nsswitch/pam_winbind.c index 7288d7af77..e42199cd0f 100644 --- a/source3/nsswitch/pam_winbind.c +++ b/source3/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); |