<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><p>Hi,</p><p><br></p><p>I am using freeRadius 2.1.9 version.</p><p><br></p><p>I am trying to update proxy-reply message with additional attributes, I want to do it only if proxy-reply is Access-Accept. I see %{proxy-reply:Packet-Type} returns "Access-Accept" but I am not able to form a if condition, I see following error: </p><p><br></p><p>Thu Sep 16 12:20:24 2010 : Info: +- entering group post-proxy {...}<br>Thu Sep 16 12:20:24 2010 : Info:        expand: %{proxy-reply:Packet-Type} -> Access-Accept<br>Thu Sep 16 12:20:24 2010 : Info: ++[proxy-reply] returns noop<br>Thu Sep 16 12:20:24 2010 : Info: ++? if (proxy-reply:Packet-Type == "Access-Accept")<br>Thu Sep 16 12:20:24 2010 : Info:     (Attribute proxy-reply:Packet-Type was not found)<br>Thu Sep 16 12:20:24 2010 : Info: [eap] No pre-existing handler found<br>Thu Sep 16 12:20:24 2010 : Info: ++[eap]
 returns noop<br>Thu Sep 16 12:20:24 2010 : Info: Found Auth-Type = Accept<br>Thu Sep 16 12:20:24 2010 : Info: Auth-Type = Accept, accepting the user<br>Thu Sep 16 12:20:24 2010 : Info: +- entering group post-auth {...}<br>Thu Sep 16 12:20:24 2010 : Info: ++[exec] returns noop<br>Sending Access-Accept of id 11 to 192.168.6.181 port 32771<br>        Framed-Protocol = PPP<br>        Service-Type = Framed-User<br>        EAP-Message = 0x030c0004<br>        Class = 0x482404d3000001370001c0a8073f01cb53194e942c94000000000000020f<br>        MS-CHAP-Domain = "\001TESTAD"<br>        MS-CHAP2-Success = 0x01533d33374341363935353838313541433741463032344131333733453832463730424238413846433033<br>        MS-MPPE-Send-Key = 0x6690415a2581f6721c2bd5b7248693f972bd3c750929bb4ab85eccba612b34ee<br>        MS-MPPE-Recv-Key = 0x2a32a3e3f8e828d049c41b18dc8ef342720afe4de007074eb3c880de24a51ba3<br>        Message-Authenticator = 0x00000000000000000000000000000000<br>       
 User-Name = "Access-Accept"<br>Thu Sep 16 12:20:24 2010 : Info: Finished request 11.<br>Thu Sep 16 12:20:24 2010 : Debug: Going to the next request<br>Thu Sep 16 12:20:24 2010 : Debug: Waking up in 4.8 seconds.<br><br></p><p>Can we really access proxy-reply:Packet-Type using unlang? Please help me solving this problem.</p><p><br></p><p>Thanks,</p><p>Chidanand</p><p><br></p></td></tr></table><br>