freeradius fail redundant

Arran Cudbard-Bell a.cudbardb at freeradius.org
Fri Feb 5 19:13:08 CET 2016


> On 4 Feb 2016, at 00:35, Дмитрий <b2ronn at gmail.com> wrote:
> 
> In freeradius 3.0.11
> 
> Executing query: call freeradius_session_acct(.....)
> SQL query returned: success
> 0 record(s) updated
> No additional queries configured
> noop

So it worked, right? It didn't error out, but as your query apparently did nothing, the SQL module returned noop.

You can override the return noop code very easily in unlang.

sql
if (noop) {
	updated
}

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160205/228f4c81/attachment.sig>


More information about the Freeradius-Users mailing list