summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-12-19 00:27:39 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-12-19 00:27:39 +0100
commit732a859f121e8e7be7392b02d5c9b510f3f19f0a (patch)
tree5cd369c4d6e8f605ace821a7df2e3a61f659ce9a
parentf95a522260a72c2fa6fd393c5eef6e1034b7d2a0 (diff)
downloadsssd-rhel5.8.zip
sssd-rhel5.8.tar.gz
sssd-rhel5.8.tar.xz
sssd_pam: Cleanup requests cache on sbus reconectrhel5.8
-rw-r--r--src/responder/pam/pamsrv.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/responder/pam/pamsrv.c b/src/responder/pam/pamsrv.c
index 91ee4a8..ca4d9c1 100644
--- a/src/responder/pam/pamsrv.c
+++ b/src/responder/pam/pamsrv.c
@@ -89,7 +89,10 @@ static void pam_dp_reconnect_init(struct sbus_connection *conn, int status, void
DATA_PROVIDER_VERSION,
"PAM");
/* all fine */
- if (ret == EOK) return;
+ if (ret == EOK) {
+ handle_requests_after_reconnect();
+ return;
+ }
}
/* Handle failure */