how to output that attribute value as raw data?

ichiro tanaka i_tanaka at hotmail.co.jp
Tue Jun 7 03:01:10 CEST 2011


thanks a lot Alan.

OH, I see. thanks!

I've tried that beoame a "%{Acct-Status-Type#} -> 1".
But, "%{Packet-Type#} -> ".  (%{Packet-Type} -> Access-Accept)

Packet-Type's type is INTEGER.
Is freeradius internal attributes off the subject?

Thanks for your help.

ichiro tanaka


>  This is documented.
>
>$ man unlang
>
>  See
>
>	%{Attribute‐Name#}
>
>  Alan DeKok.
>

>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