how to output that attribute value as raw data?

ichiro tanaka i_tanaka at hotmail.co.jp
Mon Jun 6 07:54:28 CEST 2011


Hi.

I was using freeradus-2.1.10 as radius home server.

I want to output log file that attribute value as raw data.
For example, NOT "%{Acct-Terminate-Cause} -> User-Request" BUT "%{Acct-Terminate
-Cause} -> 1".

Then, I edited dictionary.rfc2866 like this.
---edited
#VALUE Acct-Terminate-Cause User-Request 1
---------------------------------------------

The output became "%{Acct-Terminate-Cause} -> 1", and it became a hoped output. 
However, default setting has become illegal.
---illegal thing
if(Acct-Terminate-Cause == User-Request){
 sql
}
---------------------------------------------

Please teach the way of the setting. 

Thanks for your help.

ichiro tanaka



More information about the Freeradius-Users mailing list