From: Alan T. DeKok Date: Tue, 18 May 2021 17:46:58 +0000 (-0400) Subject: "users" file doesn't use "&" for attribute names. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0cb9c0bb46eaf73bf7dff8b7f643096be5894e78;p=thirdparty%2Ffreeradius-server.git "users" file doesn't use "&" for attribute names. Which then lets us update map_afrom_substr() to look for rules without "&", and then allow relative attribute references --- diff --git a/src/lib/server/users_file.c b/src/lib/server/users_file.c index 4a780c7bf7b..f7cb0a355f1 100644 --- a/src/lib/server/users_file.c +++ b/src/lib/server/users_file.c @@ -270,7 +270,7 @@ int pairlist_read(TALLOC_CTX *ctx, fr_dict_t const *dict, char const *file, PAIR lhs_rules = (tmpl_rules_t) { .dict_def = dict, .request_def = REQUEST_CURRENT, - .prefix = TMPL_ATTR_REF_PREFIX_AUTO, + .prefix = TMPL_ATTR_REF_PREFIX_NO, .disallow_qualifiers = true, /* for now, until more tests are made */ /*