Hi
>
> You have to put the Value in back-quotes: `%{expr: %{Call-Refrence}`
>
I have tried it, but it didn't work.
1. radreply table:
id UserName Attribute op Value
1 ylei Reply-Message := `%{expr:
%{Call-Refrence}}` --> back-quotes
2 ylei Call-Refrence-Ack := `%{expr:
%{Call-Refrence}}`
3 ylei Call-Refrence := `%{expr:
%{Call-Refrence}}`
2.
[EMAIL PROTECTED] main]# ./radauth ylei ylei
Sending Access-Request of id 239 to 10.1.16.250:1812
User-Name = "ylei"
User-Password = "ylei"
NAS-IP-Address = "127.0.0.1"
Call-Refrence = 2
NAS-Port = 6
rad_recv: Access-Accept packet from host 10.1.16.250:1812 id=239,length=62
Reply-Message = "`2`" --> back-quotes
Call-Refrence-Ack = "`%{expr: %{Call-Refrence}}`" --> back-quotes
Session-Timeout = 6000
I don't understand why Reply-Message works well but Call-Refrence-Ack&&Call-Refrence
doesn't work at all.
PS:
WHERE is the function expr_xlat() in rlm_expr.c called?? I will debug for the
above if i konw.
============================
Hello World!
============================
[EMAIL PROTECTED]
��������������������2004-06-16
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html