summaryrefslogtreecommitdiff
path: root/server/responder
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2009-11-11 21:52:46 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-11-18 17:35:08 -0500
commit23af8a7e77f44d271d81ca69d6477c3598f348c0 (patch)
tree8893f0312db749d7194271af2ac349ac9a43cd6b /server/responder
parentb6dd30c7f8cce8800ef4c35f13d6574e796ffca2 (diff)
downloadsssd-23af8a7e77f44d271d81ca69d6477c3598f348c0.tar.gz
sssd-23af8a7e77f44d271d81ca69d6477c3598f348c0.tar.bz2
sssd-23af8a7e77f44d271d81ca69d6477c3598f348c0.zip
Change the pam code to perform an initgroups call
An initgroups call refreshes both the user and the user's groups, this is ideal for pam so that we don't need addiotnal initgroups calls (initgroups calls are cached too now) during the login process.
Diffstat (limited to 'server/responder')
-rw-r--r--server/responder/pam/pamsrv_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/responder/pam/pamsrv_cmd.c b/server/responder/pam/pamsrv_cmd.c
index f4d9c4d7..8627d5cb 100644
--- a/server/responder/pam/pamsrv_cmd.c
+++ b/server/responder/pam/pamsrv_cmd.c
@@ -725,7 +725,7 @@ static int pam_forwarder(struct cli_ctx *cctx, int pam_cmd)
ret = sss_dp_send_acct_req(preq->cctx->rctx, preq,
pam_check_user_dp_callback, preq,
- timeout, preq->domain->name, SSS_DP_USER,
+ timeout, preq->domain->name, SSS_DP_INITGROUPS,
preq->pd->user, 0);
}
else {