Re: How to store session info in external database?

2013-08-09 Thread Maciej Lew
Thanks, it works. 2013/8/6 Arran Cudbard-Bell a.cudba...@freeradius.org On 6 Aug 2013, at 14:29, Maciej Lew mac...@lanserver.pl wrote: The problem is we have databases in slave mode, only reading is allowed. We want pass these informations to another database... Modules can have

How to store session info in external database?

2013-08-06 Thread Maciej Lew
Hi, I would like to store freeradius session information like Acct-Session-Id, Acct-Start-Time, Acct-Stop-Time, Acct-Input-Octets, Acct-Output-Octets, Framed-IP-Address, NAS-IP-Address in external database. We have our devices connected to databases which are readonly so we cannot store those

Re: How to store session info in external database?

2013-08-06 Thread A . L . M . Buxey
Hi, Hi, I would like to store freeradius session information like Acct-Session-Id, Acct-Start-Time, Acct-Stop-Time, Acct-Input-Octets, Acct-Output-Octets, Framed-IP-Address, NAS-IP-Address in external database. the defauly config does this - you just need to edit the SQL module

Re: How to store session info in external database?

2013-08-06 Thread Maciej Lew
The problem is we have databases in slave mode, only reading is allowed. We want pass these informations to another database... 2013/8/6 a.l.m.bu...@lboro.ac.uk Hi, Hi, I would like to store freeradius session information like Acct-Session-Id, Acct-Start-Time, Acct-Stop-Time,

Re: How to store session info in external database?

2013-08-06 Thread Alan DeKok
Maciej Lew wrote: The problem is we have databases in slave mode, only reading is allowed. We want pass these informations to another database... Then configure another SQL module to talk to another database. There's no magic here. If you want to write to a database, configure the server

Re: How to store session info in external database?

2013-08-06 Thread Arran Cudbard-Bell
On 6 Aug 2013, at 14:29, Maciej Lew mac...@lanserver.pl wrote: The problem is we have databases in slave mode, only reading is allowed. We want pass these informations to another database... Modules can have multiple instances. sql.conf sql sql_write { sql config }