summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/ldap_common.c5
-rw-r--r--src/providers/ldap/ldap_common.h2
-rw-r--r--src/providers/ldap/sdap_fd_events.c4
3 files changed, 2 insertions, 9 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index 840a09871..aa4c6cb85 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -44,11 +44,6 @@ void sdap_handler_done(struct be_req *req, int dp_err,
return be_req_terminate(req, dp_err, error, errstr);
}
-void sdap_mark_offline(struct sdap_id_ctx *ctx)
-{
- be_mark_offline(ctx->be);
-}
-
int ldap_id_setup_tasks(struct sdap_id_ctx *ctx)
{
return sdap_id_setup_tasks(ctx->be, ctx, ctx->opts->sdom,
diff --git a/src/providers/ldap/ldap_common.h b/src/providers/ldap/ldap_common.h
index 8294d1db2..716aaa08e 100644
--- a/src/providers/ldap/ldap_common.h
+++ b/src/providers/ldap/ldap_common.h
@@ -210,8 +210,6 @@ errno_t ldap_setup_cleanup(struct sdap_id_ctx *id_ctx,
errno_t ldap_id_cleanup(struct sdap_options *opts,
struct sdap_domain *sdom);
-void sdap_mark_offline(struct sdap_id_ctx *ctx);
-
struct tevent_req *groups_get_send(TALLOC_CTX *memctx,
struct tevent_context *ev,
struct sdap_id_ctx *ctx,
diff --git a/src/providers/ldap/sdap_fd_events.c b/src/providers/ldap/sdap_fd_events.c
index cfd656ff9..eeb4c9528 100644
--- a/src/providers/ldap/sdap_fd_events.c
+++ b/src/providers/ldap/sdap_fd_events.c
@@ -49,8 +49,8 @@ int get_fd_from_ldap(LDAP *ldap, int *fd)
int remove_ldap_connection_callbacks(struct sdap_handle *sh)
{
- /* sdap_fd_events might be NULL here if sdap_mark_offline()
- * was called before a connection was established.
+ /* sdap_fd_events might be NULL here if the back end was marked offline
+ * before a connection was established.
*/
if (sh->sdap_fd_events) {
#ifdef HAVE_LDAP_CONNCB