Skip to content

Commit e345d10

Browse files
ldap: Dont set DPM_CHECK_ONLINE handler
This will be done differently inside the failover code
1 parent c41e6d1 commit e345d10

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/providers/ldap/ldap_init.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -422,19 +422,13 @@ errno_t sssm_ldap_id_init(TALLOC_CTX *mem_ctx,
422422
struct dp_method *dp_methods)
423423
{
424424
struct ldap_init_ctx *init_ctx;
425-
struct sdap_id_ctx *id_ctx;
426425

427426
init_ctx = talloc_get_type(module_data, struct ldap_init_ctx);
428-
id_ctx = init_ctx->id_ctx;
429427

430428
dp_set_method(dp_methods, DPM_ACCOUNT_HANDLER,
431429
sdap_account_info_handler_send, sdap_account_info_handler_recv, init_ctx,
432430
struct ldap_init_ctx, struct dp_id_data, struct dp_reply_std);
433431

434-
dp_set_method(dp_methods, DPM_CHECK_ONLINE,
435-
sdap_online_check_handler_send, sdap_online_check_handler_recv, id_ctx,
436-
struct sdap_id_ctx, void, struct dp_reply_std);
437-
438432
dp_set_method(dp_methods, DPM_ACCT_DOMAIN_HANDLER,
439433
default_account_domain_send, default_account_domain_recv, NULL,
440434
void, struct dp_get_acct_domain_data, struct dp_reply_std);

0 commit comments

Comments
 (0)