diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-22 10:26:36 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-22 13:22:27 -0500 |
commit | 7da6ae5558059218d660d879057f6e39864c3493 (patch) | |
tree | 27d402bdcf58426c2baf677cc058e8117bdbbe08 /src | |
parent | 5c2852c8cb7f0a8c4eacac485650b771cac8ad6e (diff) | |
download | sssd-7da6ae5558059218d660d879057f6e39864c3493.tar.gz sssd-7da6ae5558059218d660d879057f6e39864c3493.tar.bz2 sssd-7da6ae5558059218d660d879057f6e39864c3493.zip |
Ensure ID is checked in all domains for PAM
Previously, this was initialized to zero, so the first domain in
the list wouldn't be checked for ID updates in
pam_check_user_search. This initializes the first domain to check
the provider.
Diffstat (limited to 'src')
-rw-r--r-- | src/responder/pam/pamsrv_cmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/responder/pam/pamsrv_cmd.c b/src/responder/pam/pamsrv_cmd.c index 8b642074..48341aab 100644 --- a/src/responder/pam/pamsrv_cmd.c +++ b/src/responder/pam/pamsrv_cmd.c @@ -752,6 +752,8 @@ static int pam_forwarder(struct cli_ctx *cctx, int pam_cmd) goto done; } + preq->check_provider = NEED_CHECK_PROVIDER(preq->domain->provider); + ret = pam_check_user_search(preq); if (ret == EOK) { pam_dom_forwarder(preq); |