Variable for Secret in Request?

Eric Geier me at egeier.com
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: freeradius-users-bounces+me=egeier.com at lists.freeradius.org
[mailto:freeradius-users-bounces+me=egeier.com at lists.freeradius.org] 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?

  %{client:secret}

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

clients.conf:

  client foo {
	ipaddr = 1.2.3.4
	secret = testing123
	the_beatles = cool
  }


authorize, etc.:

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

  Alan DeKok.
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html


No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
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