Variable for Secret in Request?

Eric Geier me at
Tue Feb 3 20:26:46 CET 2009

Great, thanks!

If sql xlat won't work in the clients file, do you recommend to check
something in particular? I also can't get the mac authentication working
with Calling-Station-ID in the radcheck table...maybe I have something wrong
with my sql on the freeradius machine or with the SQL server.

-----Original Message-----
From: at
[ at] On
Behalf Of Alan DeKok
Sent: Tuesday, February 03, 2009 1:47 PM
To: FreeRadius users mailing list
Subject: Re: Variable for Secret in Request?

Eric Geier wrote:
> Is there a Variable for the shared secret used in the request packets?


  *Anything* in the client section can be referenced this way:


  client foo {
	ipaddr =
	secret = testing123
	the_beatles = cool

authorize, etc.:

	if ("%{client:the_beatles}" == "cool") {

  Alan DeKok.
List info/subscribe/unsubscribe? See

No virus found in this incoming message.
Checked by AVG - 
Version: 8.0.176 / Virus Database: 270.10.16/1930 - Release Date: 2/2/2009
7:21 PM

More information about the Freeradius-Users mailing list