Skip to content

Commit 90d41a1

Browse files
ldap: Dont set DPM_CHECK_ONLINE handler
This will be done differently inside the failover code
1 parent 81f1698 commit 90d41a1

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
@@ -405,19 +405,13 @@ errno_t sssm_ldap_id_init(TALLOC_CTX *mem_ctx,
405405
struct dp_method *dp_methods)
406406
{
407407
struct ldap_init_ctx *init_ctx;
408-
struct sdap_id_ctx *id_ctx;
409408

410409
init_ctx = talloc_get_type(module_data, struct ldap_init_ctx);
411-
id_ctx = init_ctx->id_ctx;
412410

413411
dp_set_method(dp_methods, DPM_ACCOUNT_HANDLER,
414412
sdap_account_info_handler_send, sdap_account_info_handler_recv, init_ctx,
415413
struct ldap_init_ctx, struct dp_id_data, struct dp_reply_std);
416414

417-
dp_set_method(dp_methods, DPM_CHECK_ONLINE,
418-
sdap_online_check_handler_send, sdap_online_check_handler_recv, id_ctx,
419-
struct sdap_id_ctx, void, struct dp_reply_std);
420-
421415
dp_set_method(dp_methods, DPM_ACCT_DOMAIN_HANDLER,
422416
default_account_domain_send, default_account_domain_recv, NULL,
423417
void, struct dp_get_acct_domain_data, struct dp_reply_std);

0 commit comments

Comments
 (0)