<div dir="ltr"><div><div><span style="font-family:trebuchet ms,sans-serif">Hi,<br><br></span></div><span style="font-family:trebuchet ms,sans-serif">i really do not know what is going on there, you do not need to do this to disconnect user, this i unlang coding. used to manipulate replies. perhaps some expert can help you. i am really not very good in that. <br>
</span></div><span style="font-family:trebuchet ms,sans-serif">Thanks<br></span><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 16, 2014 at 10:02 AM, * <span dir="ltr"><<a href="mailto:zhex900@gmail.com" target="_blank">zhex900@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I kind of know what the problem is now. Hopefully, I am heading in the right direction. This <a href="http://freeradius.1045715.n5.nabble.com/Sending-an-attribute-with-the-Access-Accept-instead-of-Access-Challenge-td3338454.html" target="_blank">post</a> gave me some ideas. </div>
<div><br></div><div>I added the following in inner-tunnel. How do I set the value of the Session-Timeout attribute correctly? </div><div><br></div><div><div>update outer.reply {</div><div> User-Name = "%{request:User-Name}"</div>
<div> Session-timeout = "%{request:Session-timeout}"</div><div> }</div></div><div><br></div><div>But the radiusd -X shows Session-timeout = 0</div><div><br></div><div><div>(7) update outer.reply {</div>
<div>(7) <span style="white-space:pre-wrap"> </span>expand: "%{request:User-Name}" -> 'bob'</div><div>(7) <span style="white-space:pre-wrap"> </span>User-Name = "bob"</div><div>(7) <span style="white-space:pre-wrap"> </span>expand: "%{request:Session-timeout}" -> ''</div>
<div>(7) <span style="white-space:pre-wrap"> <b> </b></span><b>Session-timeout = 0</b></div><div>(7) } # update outer.reply = noop</div><div>(7) } # post-auth = ok</div><div>} # server inner-tunnel</div></div><div>
<br></div><div>Thanks</div><div><br></div><div>Jake He</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 16, 2014 at 12:42 PM, * <span dir="ltr"><<a href="mailto:zhex900@gmail.com" target="_blank">zhex900@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_extra">Hi,</div><div class="gmail_extra"><br></div><div class="gmail_extra">
Does Session-Timeout attribute needs to be in Access-Accept? Currently my radius send Session-Timeout in Access-Challenge.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">If so, how I do configure the radius to send Session-Timeout in Access-Accept?</div><div class="gmail_extra"><br></div><div class="gmail_extra">Jake He</div><div class="gmail_extra">
<br></div></div></div>
</blockquote></div><br></div>
</div></div><br>-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br></blockquote></div><br></div></div></div></div></div>