Stefan A. wrote:
Even If I assign values to THEattributes in hints file, some later evaluations in the default file are pretending:
"Request:THEattributes not found"
What does that mean?
How may I debug the processing of the hints file?
Debug mode is fine.
Starting "radiusd -Xx" works fine: ... Fri Apr 9 18:34:25 2010 : Debug: (Loaded rlm_preprocess, checking if it's valid) Fri Apr 9 18:34:25 2010 : Debug: Module: Linked to module rlm_preprocess Fri Apr 9 18:34:25 2010 : Debug: Module: Instantiating preprocess Fri Apr 9 18:34:25 2010 : Debug: preprocess { Fri Apr 9 18:34:25 2010 : Debug: huntgroups = "/usr/local/etc/raddb/huntgroups" Fri Apr 9 18:34:25 2010 : Debug: hints = "/usr/local/etc/raddb/hints" ...
receiving the a packet, I will output ... Fri Apr 9 18:34:54 2010 : Info: +- entering group authorize {...} Fri Apr 9 18:34:54 2010 : Info: ++[preprocess] returns ok
Yes... it's not matching anything in the 'hints' file.
I remember, that it has shown something like 'matched Line 17' in the past. I'm sure, editing the correct hints file: If I do a mistake in a DEFAULT line, radiusd does not load.
What is in the packet, and what is in the 'hints' file? A comparison of the two should show why it isn't matching.
Any Idea, how to get more output, at least for the positive matches?
Edit the source code. Alan DeKok.