hi will,<br><br>I have tried this configuration and it's working fine with radtest but<br><br>Ever i am getting session time out value on AP side also but during the change request time . actually i want the session time out in<br>
<br>accept-access time.<br><br>is it the normal scenario? <br><br>can you help me in this case?<br><br>thanks,<br>Mitul Modi<br><br><br><div class="gmail_quote">On Fri, Feb 13, 2009 at 3:23 PM, Will D. Spann <span dir="ltr"><<a href="mailto:willdspann@yahoo.com">willdspann@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Mitul,<div class="Ih2E3d">
<br><br>>i have tried this thing but when i am doing so its taking this as a default entry and giving error for user name and password<br><br>>i have entered username and cleartext-password in user file.<br><br></div>
Could you post your users file (with any non-testing passwords starred out of course)?<br><br>My apologies; let me add a clarification. If your user entries in the users file don't have the "Fall-Through = Yes" attribute set, putting the DEFAULT section at the end of the file won't apply the Session-Timeout to the users. However, it shouldn't cause an error. Have you tried testing without the DEFAULT section, using a user with Cleartext-Password? I've tested the following configuration on FreeRADIUS 2.1.1 with success.<br>
<br>
test Cleartext-Password := "testing"<br> Fall-Through = Yes<br><br> DEFAULT<br>
Session-Timeout = 60<br><br>Try testing this with radtest, such as the following, where "testing123" is your shared secret and the server is running on localhost. This should return an Access-Accept message with Session-Timeout specified. (I assume you're also running the server with debug output, as "radiusd -X".)<br>
<br> radtest test testing localhost 0 testing123<br><br>If you don't want to add the Fall-Through attribute to each of your user entries, you could instead use the following modified DEFAULT section near the top of the users file, before all the authorized user entries. I've also tested this configuration. (Note the comma.)<br>
<br> DEFAULT<br> Session-Timeout = <timeout>,<br> Fall-Through = Yes<div class="Ih2E3d"><br>
<br><br>>also i have configured the mysql database for authentication and
accounting. so at that time i am getting error "no User-password or
>CHAP-password" in request.<br><br></div>Are you using both the users file and MySQL for authentication, or are you testing each setup separately? I'd recommend getting FreeRADIUS working with the users file alone before setting up database-based authentication.<br>
<br>Will D. Spann</div><br></div><br>
</div></blockquote></div><br>