Ronan Lucio <[EMAIL PROTECTED]> wrote: > I have a radius server (not freeradius) that execute a external > script which make some checks to validate the user. > When such user is allowed, the script insert a record in a > Postgres database with (User-Name, Framed-IP-Address, Connect-Info > Calling-Station-ID, Acct-Status-Type, connect time) and when the > user disconnect (Acct-Status-Type, disconnect time).
FreeRADIUS has postgres support built-in, so you don't need to run an external script. > My problem is the script is executed at authentication step and in > that time, it don't have some datas, yet. > > Is there a way to execute a external script in accounting step? See 'scripts/exec-program-wait' Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
