Actually, the configuration files are doing what they were told. Read the debug output carefully and you will see that you removed the include statements from module/preprocess but did not change sites-enable/default. You are better off only changing what needs to be changed for your configuration. The "extra stuff" in the configuration does not hurt the operation or performance of the radius server. Tim
-----Original Message----- From: McCann, Brian [mailto:bmccann@andmore.com] Sent: Monday, January 10, 2011 2:27 PM To: tim.sylvester@networkradius.com; FreeRadius users mailing list Subject: RE: preprocess module
I removed it because it deals with cases I'll never have...ppp, slip, cslip. No, it's not doing anything "bad", but it's not doing anything "helpful" either. You're 100% right, I can just put them back. Just trying to understand why the config file isn't doing what it's told.
--Brian
-----Original Message----- From: freeradius-users-bounces+bmccann=andmore.com@lists.freeradius.org [mailto:freeradius-users- bounces+bmccann=andmore.com@lists.freeradius.org] On Behalf Of Tim Sylvester Sent: Monday, January 10, 2011 5:13 PM To: 'FreeRadius users mailing list' Subject: RE: preprocess module
Why did you remove the files? Unless they are doing something "bad", leave them alone.
Tim
ir huntgroup *", and every line it comes back with is commented out. Here's the debug and my modules/preprocess file:
--debug start--
server { # from file /usr/local/etc/raddb/radiusd.conf modules { Module: Checking authenticate {...} for more modules to load Module: Checking authorize {...} for more modules to load Module: Linked to module rlm_preprocess Module: Instantiating module "preprocess" from file /usr/local/etc/raddb/modules/preprocess preprocess { huntgroups = "/usr/local/etc/raddb/huntgroups" hints = "/usr/local/etc/raddb/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } rlm_preprocess: Error reading /usr/local/etc/raddb/huntgroups /usr/local/etc/raddb/modules/preprocess[13]: Instantiation failed for module "preprocess" /usr/local/etc/raddb/sites-enabled/default[9]: Failed to load module "preprocess". /usr/local/etc/raddb/sites-enabled/default[1]: Errors parsing authorize section.
--debug end--
--preprocess start--
preprocess { with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no }
--preprocess end--
Anyone have any ideas on where it's getting this configuration from???
Thanks! --Brian
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-----Original Message----- From: freeradius-users- bounces+tim.sylvester=networkradius.com@lists.freeradius.org [mailto:freeradius-users- bounces+tim.sylvester=networkradius.com@lists.freeradius.org] On Behalf Of McCann, Brian Sent: Monday, January 10, 2011 1:49 PM To: FreeRadius users mailing list Subject: RE: preprocess module
It's worth mentioning that if I change "ascend_channels_per_line" to "32" instead of "23", that change gets recognized.
--Brian
-----Original Message----- From: freeradius-users- bounces+bmccann=andmore.com@lists.freeradius.org [mailto:freeradius-users- bounces+bmccann=andmore.com@lists.freeradius.org] On Behalf Of McCann, Brian Sent: Monday, January 10, 2011 4:45 PM To: freeradius-users@lists.freeradius.org Subject: preprocess module
Hi all. Trying to understand and learn freeradius. For my use, I do not need the "huntgroups" or "hints" files, so I tried taking them out. I renamed the files from "huntgroups" to "huntgroups.off", and the same for hints. I then edited "module/preprocess" to take out references to these two files. However, when I start up radiusd, it appears that it's STILL looking for the files. I've gone so far as doing a "grep
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html