> From: Nicolas Baradakis
> Sent: Wednesday, 17 September 2003 11:35 PM

> When you have multiple freeradius servers, you want to store
> authentication attempts in a database rather than a flat file.

> The following patch allow for SQL logging after authentication. It
> extends the rlm_sql module so now you can put one more query in your
> sql.conf file.

> The following patch depends on the the patch "Post-Auth-Type" I posted
> earlier.

How?

I'll commit this once either you tell me that it doesn't depend on
Post-Auth-Type, or I commit the Post-Auth-Type patch. (Which I'm
going to look at now.)

With one minor change, to call
(inst->module->sql_finish_query)(sqlsocket, inst->config);
even for failed queries. (As is done in _some_ of the other sql_
function in rlm_sql.c. And PostgresSQL's docs also do it... Only
postgres and Sybase (off hand, Oracle too maybe) actually implement
the function anyway.

--
=========================================================
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

This is a one line proof...if we start
sufficiently far to the left.
        -- Cambridge University Math Department
---------------------------------------------------------
Random signature generator 3.0 by Paul "TBBle" Hampson
=========================================================


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

Reply via email to