diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-12-20 10:47:41 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-12-20 13:37:28 -0500 |
commit | d844aab866ae237844360cea70e2dccdc90c783d (patch) | |
tree | f65426bb18fee843d5497d28497dc248593c6953 /src/responder/pam/pamsrv.h | |
parent | f1055c2a8036bb11b5788f969078edee8ba5326e (diff) | |
download | sssd-d844aab866ae237844360cea70e2dccdc90c783d.tar.gz sssd-d844aab866ae237844360cea70e2dccdc90c783d.tar.bz2 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/responder/pam/pamsrv.h b/src/responder/pam/pamsrv.h index 3ffc1708..3617231d 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 { |