From: Alan T. DeKok Date: Mon, 7 May 2018 17:01:13 +0000 (-0400) Subject: fr_dict_autoload() doesn't quite work yet X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef48e91c705c3976a69412e1784546e5cf33418a;p=thirdparty%2Ffreeradius-server.git fr_dict_autoload() doesn't quite work yet there's no "dictionary.radius", so we can't try loading one --- diff --git a/src/modules/rlm_eap/lib/base/eap_base.c b/src/modules/rlm_eap/lib/base/eap_base.c index 3a1d3e334c4..069432cb5b9 100644 --- a/src/modules/rlm_eap/lib/base/eap_base.c +++ b/src/modules/rlm_eap/lib/base/eap_base.c @@ -423,7 +423,16 @@ rlm_rcode_t eap_virtual_server(REQUEST *request, REQUEST *fake, */ int eap_base_init(void) { - if (fr_dict_autoload(main_config.dictionary_dir, eap_base_dict) < 0) return -1; + /* + * @todo - get this working. Right now, there's no + * "dictionary.radius", so it fails. + */ +// if (fr_dict_autoload(main_config.dictionary_dir, eap_base_dict) < 0) return -1; + + /* + * But mainconfig.c does read the dictionaries before + * loading modules, so these have to exist. + */ if (fr_dict_attr_autoload(eap_base_dict_attr) < 0) return -1; return 0;