summaryrefslogtreecommitdiff
path: root/server/providers/ldap_be.c
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-03-18 12:19:23 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-03-20 10:59:12 -0400
commit76c4a8cfaf29778423ac28d1088ca4e0a20e8b91 (patch)
tree35e1f2e785f32f46b496b00b6b4a4c7a71106bf8 /server/providers/ldap_be.c
parent907fd320aa244809ac4d8b831699b2c3d862ce11 (diff)
downloadsssd-76c4a8cfaf29778423ac28d1088ca4e0a20e8b91.tar.gz
sssd-76c4a8cfaf29778423ac28d1088ca4e0a20e8b91.tar.bz2
sssd-76c4a8cfaf29778423ac28d1088ca4e0a20e8b91.zip
Enable autoreconnection of Data Provider Backends to the Data Provider
Diffstat (limited to 'server/providers/ldap_be.c')
-rw-r--r--server/providers/ldap_be.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/server/providers/ldap_be.c b/server/providers/ldap_be.c
index d91e0792..89da0715 100644
--- a/server/providers/ldap_be.c
+++ b/server/providers/ldap_be.c
@@ -622,10 +622,17 @@ done:
req->fn(req, pam_status, NULL);
}
+static void ldap_shutdown(struct be_req *req)
+{
+ /* TODO: Clean up any internal data */
+ req->fn(req, EOK, NULL);
+}
+
struct be_mod_ops ldap_mod_ops = {
.check_online = NULL,
.get_account_info = NULL,
- .pam_handler = ldap_pam_handler
+ .pam_handler = ldap_pam_handler,
+ .finalize = ldap_shutdown
};