post-proxy ip address assignment
A.L.M.Buxey at lboro.ac.uk
A.L.M.Buxey at lboro.ac.uk
Wed May 1 13:22:46 CEST 2013
Hi,
> sorry alan, perhaps I'm mixing up my examples in an attempt to get this
> working...
run your freeradius is full debug mode. LOOK at what is going on
> 1. where (or in which file) do I add the unlang code?
as you have
> 2. how do i update the reply?
by updating the reply
> I currently have the following code in my proxy-inner-tunnel file :-
> post-proxy {
> eap
> if (proxy-reply:Access-Accept) {
> update proxy-reply { Framed-IP-Address := "%{sql:SELECT Value FROM
> `radreply` WHERE UserName ='%{User-Name}' AND Attribute =
> 'Framed-IP-Address'}" }
thats not updating the reply is it. thats updating the proxy-reply.
alan
More information about the Freeradius-Users
mailing list