summaryrefslogtreecommitdiffstats
path: root/src/responder/pam/pamsrv.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-12-20 10:47:41 -0500
committerStephen Gallagher <sgallagh@redhat.com>2011-12-20 13:37:28 -0500
commitd844aab866ae237844360cea70e2dccdc90c783d (patch)
treef65426bb18fee843d5497d28497dc248593c6953 /src/responder/pam/pamsrv.h
parentf1055c2a8036bb11b5788f969078edee8ba5326e (diff)
downloadsssd-d844aab866ae237844360cea70e2dccdc90c783d.tar.gz
sssd-d844aab866ae237844360cea70e2dccdc90c783d.tar.xz
sssd-d844aab866ae237844360cea70e2dccdc90c783d.zip
PAM: make initgroups timeout work across multiple clients
Instead of timing out the initgroups lookup on a per-cctx basis, we will maintain a hash table of recently-seen users and use this instead. This will allow SSSD to handle user's logging into multiple services simultaneously more graciously, as well as playing nicer with SSH (which makes calls to PAM both before and after a fork). https://fedorahosted.org/sssd/ticket/1063
Diffstat (limited to 'src/responder/pam/pamsrv.h')
-rw-r--r--src/responder/pam/pamsrv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/responder/pam/pamsrv.h b/src/responder/pam/pamsrv.h
index 3ffc17087..3617231d0 100644
--- a/src/responder/pam/pamsrv.h
+++ b/src/responder/pam/pamsrv.h
@@ -36,6 +36,7 @@ struct pam_ctx {
struct sss_nc_ctx *ncache;
int neg_timeout;
time_t id_timeout;
+ hash_table_t *id_table;
};
struct pam_auth_req {