<p dir="ltr">This is my work around. </p>
<p dir="ltr">Try this<br>
in post-auth</p>
<p dir="ltr">update reply {</p>
<p dir="ltr"> Class = "%{sql:SELECT `value` FROM `radreply` WHERE `username`='%{User-Name}' and `attribute`='Class';}"</p>
<p dir="ltr"> }</p>
<p dir="ltr">I tried enabling use_tunnled_reply=yes. But no reply is sent through access accept. </p>
<div class="gmail_quote">On 23/05/2014 2:10 AM, "free.aaa" <<a href="mailto:free.aaa@gmail.com">free.aaa@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all!<br>
<br>
It seems like a missed some basic concepts about eap in freeradius. How to make freeradius return attribute for a specific user?<br>
<br>
I'm using freeradius-3.0.3.<br>
<br>
I created user in mysql (radcheck) as usual:<br>
test Cleartext-Password := test<br>
<br>
And add to radreply table:<br>
test Class = temp_class<br>
<br>
And when I do eap-mschapv2 I did not receive Class attribute.<br>
<br>
I need help to clarify this concept and advice how to include this attribute in the reply.<br>
<br>
PS: As one try I added to my default config in the post-auth section the following:<br>
<br>
update reply {<br>
Class = "%{Class}"<br>
}<br>
<br>
and after that the Class attribute appeared in the access-accept but it was empty.<br>
<br>
Thanks in advance!<br>
Best regards,<br>
Alex<br>
<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/<u></u>list/users.html</a><br>
</blockquote></div>