From: Nick Porter Date: Thu, 19 Jun 2025 19:23:33 +0000 (+0100) Subject: Correct search for default profile X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=336aa8504a85d85e894d38a7cc425bf07ac02cf4;p=thirdparty%2Ffreeradius-server.git Correct search for default profile --- diff --git a/src/modules/rlm_ldap/rlm_ldap.c b/src/modules/rlm_ldap/rlm_ldap.c index 282d689c4a7..238019feee0 100644 --- a/src/modules/rlm_ldap/rlm_ldap.c +++ b/src/modules/rlm_ldap/rlm_ldap.c @@ -1795,8 +1795,9 @@ static unlang_action_t CC_HINT(nonnull) mod_authorize_resume(unlang_result_t *p_ unlang_action_t ret; REPEAT_MOD_AUTHORIZE_RESUME; - ret = rlm_ldap_map_profile(NULL, NULL, inst, request, autz_ctx->ttrunk, autz_ctx->profile_value, - inst->profile.obj_scope, call_env->default_profile.vb_strvalue, &autz_ctx->expanded); + ret = rlm_ldap_map_profile(NULL, NULL, inst, request, autz_ctx->ttrunk, + call_env->default_profile.vb_strvalue, + inst->profile.obj_scope, NULL, &autz_ctx->expanded); switch (ret) { case UNLANG_ACTION_FAIL: p_result->rcode = RLM_MODULE_FAIL;