Getting error wile loading module during the uinttest case

shivu prasad shivaprasad2452 at gmail.com
Thu Nov 22 16:53:10 CET 2018


Hi All,

I am getting below error while loading my module during running testcase.
But same module works fine as part of normal server, I can load my module,
authenticate and even authorize works fine.

But if I try to load the module in src/tests/modules//radiusd.conf I am
getting the error.
Even I verified the module.conf configuration its same as
mods-enabled/mymodule_name only.

Not sure what is missing here.

Thu Nov 22 19:56:36 2018 : Debug:   # Instantiating module "reject" from
file raddb/mods-enabled/always
Thu Nov 22 19:56:36 2018 : Debug:   # Instantiating module "fail" from file
raddb/mods-enabled/always
Thu Nov 22 19:56:36 2018 : Debug:   # Instantiating module "ok" from file
raddb/mods-enabled/always
Thu Nov 22 19:56:36 2018 : Debug:   # Instantiating module "handled" from
file raddb/mods-enabled/always
Thu Nov 22 19:56:36 2018 : Debug:   # Instantiating module "invalid" from
file raddb/mods-enabled/always
Thu Nov 22 19:56:36 2018 : Debug:   # Instantiating module "userlock" from
file raddb/mods-enabled/always
Thu Nov 22 19:56:36 2018 : Debug:   # Instantiating module "notfound" from
file raddb/mods-enabled/always
Thu Nov 22 19:56:36 2018 : Debug:   # Instantiating module "noop" from file
raddb/mods-enabled/always
Thu Nov 22 19:56:36 2018 : Debug:   # Instantiating module "updated" from
file raddb/mods-enabled/always
Thu Nov 22 19:56:36 2018 : Debug:   # Instantiating module "pap" from file
raddb/mods-enabled/pap
Thu Nov 22 19:56:36 2018 : Debug:   # Instantiating module "my_reject" from
file src/tests/modules/always//module.conf
Thu Nov 22 19:56:36 2018 : Debug:  } # modules
Thu Nov 22 19:56:36 2018 : Debug: radiusd: #### Loading Virtual Servers ####
Thu Nov 22 19:56:36 2018 : Debug: server { # from file
src/tests/modules//radiusd.conf
Thu Nov 22 19:56:36 2018 : Debug: } # server
Thu Nov 22 19:56:36 2018 : Debug: server default { # from file
src/tests/modules//radiusd.conf
Thu Nov 22 19:56:36 2018 : Debug:  # Loading authenticate {...}
Thu Nov 22 19:56:36 2018 : Debug:   pap


*Thu Nov 22 19:56:36 2018 : Error: src/tests/modules//radiusd.conf[40]:
Failed to find "idcs" as a module or policy.Thu Nov 22 19:56:36 2018 :
Error: src/tests/modules//radiusd.conf[40]: Please verify that the
configuration exists in src/tests/modules//mods-enabled/idcs.Thu Nov 22
19:56:36 2018 : Error: src/tests/modules//radiusd.conf[38]: Errors parsing
authenticate section. *
# build/tests/modules/always/replace.log

Regards,
Shivaprasad


More information about the Freeradius-Users mailing list