From 4c0144bf3fd6b734968ea486797cfe4cbe27f461 Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Fri, 6 Jun 2025 00:02:34 -0600 Subject: [PATCH] Use correct field in map ctx --- src/modules/rlm_ldap/rlm_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/rlm_ldap/rlm_ldap.c b/src/modules/rlm_ldap/rlm_ldap.c index 00c72d7df3..dcb889b5d3 100644 --- a/src/modules/rlm_ldap/rlm_ldap.c +++ b/src/modules/rlm_ldap/rlm_ldap.c @@ -1453,7 +1453,7 @@ static int map_ctx_free(ldap_map_ctx_t *map_ctx) static unlang_action_t mod_map_proc(unlang_result_t *p_result, map_ctx_t const *mpctx, request_t *request, fr_value_box_list_t *url, map_list_t const *maps) { - rlm_ldap_t const *inst = talloc_get_type_abort_const(mpctx->mpi, rlm_ldap_t); + rlm_ldap_t const *inst = talloc_get_type_abort_const(mpctx->moi, rlm_ldap_t); fr_ldap_thread_t *thread = talloc_get_type_abort(module_thread(inst->mi)->data, fr_ldap_thread_t); LDAPURLDesc *ldap_url; -- 2.47.3