From 76c4a8cfaf29778423ac28d1088ca4e0a20e8b91 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Wed, 18 Mar 2009 12:19:23 -0400 Subject: Enable autoreconnection of Data Provider Backends to the Data Provider --- server/providers/ldap_be.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'server/providers/ldap_be.c') 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 }; -- cgit