(RADIATOR) Variable Substitution

Hugh Irvine hugh at open.com.au
Tue Jul 22 22:36:48 CDT 2003


Hello Tim -

The simplest way to do this is to add one or more "pseudo-attributes" 
to the incoming request packet and then refer to it (them) in your 
processing. You can either use an "AddToRequest ....", or you can use a 
hook. There is an example PreClientHook in the file "goodies/hooks.txt" 
that does exactly this for decoding an encoded Cisco attribute.

regards

Hugh


On Wednesday, Jul 23, 2003, at 13:12 Australia/Melbourne, Timothy G. 
Wells wrote:

>
> Hi All,
>
> Is there a way to have a variable be defined or set within a certain 
> Realm or Handler so that the AuthBy some-auth-name could use that  
> variable in its processing?
>
> <realm xyz.com>
>
> variable=1
> AuthBy someauthhandler
>
> </realm>
>
> <authBy SQL>
>
> query where the value of variable is desired...
>
> </authby>
>
> Thanks,
>
> -- Tim
>
>
>
>
> Timothy G. Wells, president                              513-662-4443 
> x11
> Good News Internet Services                          fax 513-662-8461
> Tim.Wells at goodnews.net                            
> http://www.goodnews.net
>
> This is the day the Lord has made;
> let us rejoice and be glad in it. (Ps 118:24, NIV)

NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1662 bytes
Desc: not available
URL: <http://www.open.com.au/pipermail/radiator/attachments/20030723/978ba08f/attachment.bin>


More information about the radiator mailing list