]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Correct search for default profile
authorNick Porter <nick@portercomputing.co.uk>
Thu, 19 Jun 2025 19:23:33 +0000 (20:23 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Thu, 19 Jun 2025 19:23:33 +0000 (20:23 +0100)
src/modules/rlm_ldap/rlm_ldap.c

index 282d689c4a76a0a0c462192e72c291c50a6b2a76..238019feee0452afdfcac87b9d5225baa6232f6f 100644 (file)
@@ -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;