Problem with external script

tnt at kalik.net tnt at kalik.net
Thu Nov 6 00:23:31 CET 2008


>I solved in a way my problem, but one problem still remains...
>
>1) The line should echo a valid radius Attribute 
>(Framed-IP-Address=1.2.3.4 and not radiusFramedIPAddress=1.2.3.4)...(i'm 
>a fool sometimes)
>
>(pb)==> 2) The script should send back ONLY ONE line. If i'm just 
>echoing a single line from my script all is ok and the "output" printed 
>is pushed back in the Access-Accept response to client...But if i'm 
>echoing 2 Attributes...it fails. (they are printed out on ONE line on 
>stdout, as you can see in the log in my first mail).
>
>So my new question is: Is it possible to print out 2 RadiusAttributes 
>values in one script, or will i have to call 2 scripts producing each 
>ONE line...?
>

If you use perl you can return as many as you like.

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list