EAP-sim using freeradius

Matthew Newton mcn4 at leicester.ac.uk
Wed Aug 26 00:57:10 CEST 2015


On Tue, Aug 25, 2015 at 03:14:01PM -0700, Siddharth Katragadda wrote:
> I tried adding this line as you suggested:
> 
> if ("%{escape:%{control:EAP-Sim-Rand1}}" == "h") {
>         EXPAND %{escape:%{control:EAP-Sim-Rand1}}
>  }
> 
> I get this error:
> /usr/local/etc/raddb/sites-enabled/default[351]: Parse error after
> "control:EAP-Sim-Rand1": unexpected token "}"
> 
> Not sure if I messed up the syntax somewhere.

That's not what I suggested you added - that should be noop in
there.

> Also this the version of Freeradius we're using:
> radiusd: FreeRADIUS Version 3.0.9, for host x86_64-unknown-linux-gnu, built
> on Aug  7 2015 at 16:25:45

> Could you please let me know if it;'s an issue with the version of radius
> we have.

I tested with 3.0.x HEAD. You could always try that, but it's
pretty close to 3.0.9.

Matthew


> On Fri, Aug 21, 2015 at 2:37 PM, Matthew Newton <mcn4 at leicester.ac.uk>
> wrote:
> 
> > You could try adding something like this after your call to passwd
> > to force a debug expansion and see what the value has actually
> > been set to
> >
> >
> > if ("%{escape:%{control:EAP-Sim-Rand1}}" == "h") {
> > noop
> > }
> >

-- 
Matthew Newton, Ph.D. <mcn4 at le.ac.uk>

Systems Specialist, Infrastructure Services,
I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom

For IT help contact helpdesk extn. 2253, <ithelp at le.ac.uk>


More information about the Freeradius-Users mailing list