sorry alan, perhaps I'm mixing up my examples in an attempt to get this working...

1. where (or in which file) do I add the unlang code?
2. how do i update 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'}"  }
                       
}

when i start freeradius -X i don't get any errors. the microsoft radius box is down at the moment on the other side so I can't test any further at the moment but will get back as soon as the server is up again.

tx, g


On Wed, May 1, 2013 at 12:16 PM, <A.L.M.Buxey@lboro.ac.uk> wrote:
Hi,

why are you now talkign about users file?   use unlang - as you originally stated
and then update the reply

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