summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-12-22 10:26:36 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-12-22 13:22:27 -0500
commit7da6ae5558059218d660d879057f6e39864c3493 (patch)
tree27d402bdcf58426c2baf677cc058e8117bdbbe08 /src
parent5c2852c8cb7f0a8c4eacac485650b771cac8ad6e (diff)
downloadsssd-7da6ae5558059218d660d879057f6e39864c3493.tar.gz
sssd-7da6ae5558059218d660d879057f6e39864c3493.tar.xz
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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/responder/pam/pamsrv_cmd.c b/src/responder/pam/pamsrv_cmd.c
index 8b6420748..48341aab4 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);