]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
fr_dict_autoload() doesn't quite work yet
authorAlan T. DeKok <aland@freeradius.org>
Mon, 7 May 2018 17:01:13 +0000 (13:01 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 7 May 2018 17:01:13 +0000 (13:01 -0400)
there's no "dictionary.radius", so we can't try loading one

src/modules/rlm_eap/lib/base/eap_base.c

index 3a1d3e334c49e01a68560da9bd13a2cac8b8b886..069432cb5b9528b3b658187776d29812ef076b8a 100644 (file)
@@ -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;