>"Turtiainen Tero" <[EMAIL PROTECTED]> wrote:
> > I am wondering if rlm_expr can be used with config items.
> 
>   Sure, why not?

I was wondering because I couldn't figure out how it works :)

> > (I am using NAS-Port attribute just as an example for testing this =
> > feature):
> > 
> > DEFAULT NAS-Port :=3D `%{expr: 1+1}`
> >       Fall-Through =3D Yes
> 
>   Huh? That won't work even without rlm_expr.

Which part of that entry does not work? Obviously setting NAS-Port works as
it was shown that the expression is calculated correctly when it is in reply
items. 

And based on this email in the archive
http://lists.cistron.nl/pipermail/freeradius-devel/2002-October/003604.html
I was expecting expr to work also on check items. I just haven't managed to
get it working.

> > ie. it matches the first entry in the users file where I would like
> > to calculate NAS-Port for the check items. I would think after that
> > entry has been processes check item NAS-Port would be set to 2
>
>   It doesn't work that way.  Ever.

I don't get it. At the top you seem to imply that rlm_expr can be used with
config items but now you are saying that it doesn't work that way. I am
obviously confused and missing something obvious.
-- 
Tero Turtiainen
Sonera Oyj
[EMAIL PROTECTED]
Tel: +358 40 702 8754

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

Reply via email to