summaryrefslogtreecommitdiff
path: root/server/providers/ldap_be.c
diff options
context:
space:
mode:
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
};