From: Alan T. DeKok Date: Fri, 14 Dec 2018 12:31:59 +0000 (-0500) Subject: set fallback=true X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c331f97e239d5e99ac38b909ddda4baa70d1d29;p=thirdparty%2Ffreeradius-server.git set fallback=true so that we can look up key fields in the internal dictionaries, too --- diff --git a/src/modules/rlm_passwd/rlm_passwd.c b/src/modules/rlm_passwd/rlm_passwd.c index 5b8cc7acb28..fd20d11181f 100644 --- a/src/modules/rlm_passwd/rlm_passwd.c +++ b/src/modules/rlm_passwd/rlm_passwd.c @@ -479,7 +479,7 @@ static int mod_instantiate(void *instance, CONF_SECTION *conf) return -1; } - if (fr_dict_attr_by_qualified_name(&da, dict_freeradius, inst->pwd_fmt->field[key_field], false) < 0) { + if (fr_dict_attr_by_qualified_name(&da, dict_freeradius, inst->pwd_fmt->field[key_field], true) < 0) { PERROR("Unable to resolve attribute"); release_ht(inst->ht); inst->ht = NULL;