[SSSD] [PATCH] Fix pam responder handling of coalesced requests

Simo Sorce simo at redhat.com
Fri Dec 14 04:25:25 UTC 2012


In our responders we have a feature that allows to avoid dispatching
multiple identical requests at the same time.
This is done by queing additional identical requests in a special hash
table and then replying to all clients at the same time when a response
is received.

When the connection to a provider breaks all these waiting requests need
to be cleaned out and the has table emptied.

This was not happening in sssd_pam, so if a connection to the provider
was lost client request would pile up and never be replied again.

The attached patch fixes this issue. Tested using kill -STOP of the
sssd_be process and trying to authenticate via the gnome screensaver.

Fixes: https://fedorahosted.org/sssd/ticket/1655

-- 
Simo Sorce * Red Hat, Inc * New York
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sssd_pam-Cleanup-requests-cache-on-sbus-reconect.patch
Type: text/x-patch
Size: 1259 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20121213/e6c6a587/attachment.bin>


More information about the sssd-devel mailing list