Session-timeout problem

Mitul Modi mituld.modi at gmail.com
Mon Feb 16 13:18:12 CET 2009


hi will,

I have tried this configuration and it's working fine with radtest but

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

accept-access time.

is it the normal scenario?

can you help me in this case?

thanks,
Mitul Modi


On Fri, Feb 13, 2009 at 3:23 PM, Will D. Spann <willdspann at yahoo.com> wrote:

> Mitul,
>
> >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
>
> >i have entered username and cleartext-password in user file.
>
> Could you post your users file (with any non-testing passwords starred out
> of course)?
>
> 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.
>
>     test    Cleartext-Password := "testing"
>         Fall-Through = Yes
>
>     DEFAULT
>         Session-Timeout = 60
>
> 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".)
>
>     radtest test testing localhost 0 testing123
>
> 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.)
>
>     DEFAULT
>         Session-Timeout = <timeout>,
>         Fall-Through = Yes
>
>
> >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.
>
> 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.
>
> Will D. Spann
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090216/011371c0/attachment.html>


More information about the Freeradius-Users mailing list