Additionally set/provided variables... how to access them?

Alan DeKok aland at deployingradius.com
Tue Jun 19 17:41:25 CEST 2007


Mark J Elkins wrote:
> I had doc/variables.txt open when I posted this question. I also tried 
> sticking things like  "request:" and "reply:" into  my query - but had
> no joy.

  That only refers to attributes in a specific list.

> I'm either not being sent the Variable (so how do I send this
> myself from a NAS that I own - e.g. a Cisco router with an AUX port  -
> so I can confirm I'm getting the Variable properly set)...
> or I'm missing the whole plot.

  Look in doc/variables.txt for "When attribute Foo is set".

> My first language is English... so I should be able to understand what
> is written...
> 
> In  "variables.txt" - you state...
>...
> These almost look the same... except for an extra "value" - so when does
> one use "request:" ???

  Are you sure you're reading *all* of variables.txt?  See the
"conditional syntax" section.

> Any chance of an example?

  See the "conditional syntax" section.  If it's not in
doc/variables.txt. upgrade to a recent version of the server.

> In all honesty - I'm not sure when Telkom even sends me this attribute -
> ie is it sent at the same time as when the NAS gives me the
> username&realm and password - or is it sent with the accounting record?

  No one knows but you, because no one else is getting the RADIUS
packets.  Look at the RADIUS packets to see what's being sent when.

  Alan DeKok.



More information about the Freeradius-Users mailing list