On 7 Sep 2011, at 21:28, Ivaylo Petkov wrote:

> Hi All,
> 
> I am new to developing for Freeradius and i was hoping one of you can direct 
> me into the right direction. I would like to have a program update the 
> Session-Timeout on authentication request or on disconnect so that when the 
> user receives the access accept it receives the updated Session-TImeout. What 
> is the correct way of doing this and is there some sort of example that i can 
> read. I have been searching in the mailing list and in google but so far no 
> luck.


Put this in the post-auth section of raddb/sites-available/default


update reply {
        Session-Timeout  := `/path/to/my/super/awesome/sessiontimeout/script 
-myarguments`
}

-Arran

Arran Cudbard-Bell
a.cudba...@freeradius.org

RADIUS - Half the complexity of Diameter


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to