Using Attributes to differentiate between different EAP types
Nathan McDavit-Van Fleet
nmcdavit at alcor.concordia.ca
Tue Sep 15 21:57:45 CEST 2009
Hrmm,
Now that it's parsing I find that it doesn't work in terms of actually
evaluating the EAP-Type.
For if (control.EAP-Type==21) and (outer.control.EAP-Type==21) I always get
a false even though I am testing for TTLS (21).
Is there some way to just have the value thrown into the debug output so I
can see what it is at that moment?
Regards,
Nathan Van Fleet
> -----Original Message-----
> From: freeradius-users-
> bounces+nmcdavit=alcor.concordia.ca at lists.freeradius.org
> [mailto:freeradius-users-
> bounces+nmcdavit=alcor.concordia.ca at lists.freeradius.org] On Behalf Of
> Nathan McDavit-Van Fleet
> Sent: Tuesday, September 15, 2009 1:05 PM
> To: 'FreeRadius users mailing list'
> Subject: RE: Using Attributes to differentiate between different EAP types
>
> Okay,
>
> Probably everone but me knew this but"
> If(blah == blah2)
> {
>
> Doesn't work.
>
> You have to do
>
> If(blah == blah2) {
>
> So no returns for the first curly bracket or it won't parse out.
>
> Sorry,
>
> Nathan Van Fleet
>
> > -----Original Message-----
> > From: freeradius-users-
> > bounces+nmcdavit=alcor.concordia.ca at lists.freeradius.org
> > [mailto:freeradius-users-
> > bounces+nmcdavit=alcor.concordia.ca at lists.freeradius.org] On Behalf Of
> > Ivan Kalik
> > Sent: Tuesday, September 15, 2009 12:13 PM
> > To: FreeRadius users mailing list
> > Subject: RE: Using Attributes to differentiate between different EAP
> types
> >
> > > I'm trying the following code, I've tried most every variation
> > > ("request:EAP-Type", "request.EAP-Type","EAP-Type","outer.EAP-Type".)
> > but
> > > freeradius does not even parse the configuration. I've tried %{} and
> > just
> > > the bare variables (which works for "outer.NAS-IP-Address").
> >
> > It's the internal attribute (for local server use), so it should be on
> the
> > control list (control.EAP-Type).
> >
> > Ivan Kalik
> > Kalik Informatika ISP
> >
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list