there's no "dictionary.radius", so we can't try loading one
*/
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;