From: Nick Porter Date: Fri, 5 Feb 2021 16:15:26 +0000 (+0000) Subject: TMPLs evaluated from LDAP responses are "at_runtime" X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f412e3fcd8df331d95f0d80d7d3d6471d7e0dc7f;p=thirdparty%2Ffreeradius-server.git TMPLs evaluated from LDAP responses are "at_runtime" --- diff --git a/src/lib/ldap/map.c b/src/lib/ldap/map.c index a3b9ae88ef5..bd3ce4b84e2 100644 --- a/src/lib/ldap/map.c +++ b/src/lib/ldap/map.c @@ -69,10 +69,12 @@ int fr_ldap_map_getvalue(TALLOC_CTX *ctx, fr_pair_list_t *out, request_t *reques .request_def = tmpl_request(map->lhs), .list_def = tmpl_list(map->lhs), .prefix = TMPL_ATTR_REF_PREFIX_AUTO, + .at_runtime = true, }; tmpl_rules_t rhs_rules = { - .dict_def = request->dict + .dict_def = request->dict, + .at_runtime = true, }; RDEBUG3("Parsing valuepair string \"%pV\"",