freeradius fail redundant
Дмитрий
b2ronn at gmail.com
Tue Feb 2 16:20:14 CET 2016
mysql Stored procedure returns a "Query OK, 0 row affected"
radius believes it is not correct
so decided.
in freeradius-server-2.2.9 / src / modules / rlm_sql / rlm_sql.c replaced
-if ( numaffected < 1 ) {
-ret = RLM_MODULE_NOOP;
-}
+if ( (numaffected < 1 && !strstr(querystr,"call")) || (numaffected < 0 && strstr(querystr,"call") ) ) {
+ret = RLM_MODULE_NOOP;
+}
-----Original Message-----
From: Freeradius-Users [mailto:freeradius-users-bounces+b2ronn=gmail.com at lists.freeradius.org] On Behalf Of Alan DeKok
Sent: Monday, February 1, 2016 6:17 PM
To: FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Subject: Re: freeradius fail redundant
On Feb 1, 2016, at 9:53 AM, Дмитрий Зиновьев <b2ronn at gmail.com> wrote:
>
> which data should be returned from mysql on accounting-start?
The SQL module should be able to insert the accounting data into the database.
This works in the default configuration.
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list