<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
Thanks! It works!<br>
<br>
But anyway It would be nice if someone clarify why standard radreply
attributes did not work with eap stuff.<br>
<div class="moz-cite-prefix"><br>
<br>
<br>
23.05.2014 5:11, * пишет:<br>
</div>
<blockquote
cite="mid:CAEHMKE5hvppsVV5ek2S288gxR5fibqYtwQWmLwegOpXy=+SAwA@mail.gmail.com"
type="cite">
<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
moz-do-not-send="true" 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
moz-do-not-send="true"
href="http://www.freeradius.org/list/users.html"
target="_blank">http://www.freeradius.org/list/users.html</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></pre>
</blockquote>
<br>
</body>
</html>