Additional functionality of rlm_sql
Peter Nixon
listuser at peternixon.net
Wed Aug 8 07:41:29 CEST 2007
On Wed 08 Aug 2007, Pshem Kowalczyk wrote:
> Hi
>
> > Have you looked at cvs HEAD? We are doing exactly what you mention with
> > an unmodified cvs HEAD...
>
> I just had a look at the current rlm_sql:
>
> RCSID("$Id: rlm_sql.c,v 1.171 2007/07/27 09:55:13 nbk Exp $")
>
> (...)
>
> module_t rlm_sql = {
> RLM_MODULE_INIT,
> "SQL",
> RLM_TYPE_THREAD_SAFE, /* type: reserved */
> rlm_sql_instantiate, /* instantiation */
> rlm_sql_detach, /* detach */
> {
> NULL, /* authentication */
> rlm_sql_authorize, /* authorization */
> NULL, /* preaccounting */
> rlm_sql_accounting, /* accounting */
> rlm_sql_checksimul, /* checksimul */
> NULL, /* pre-proxy */
> NULL, /* post-proxy */
> rlm_sql_postauth /* post-auth */
> },
> };
>
> Or am I looking in the wrong place?
No. Thats correct. My point is that you don't need to add extra queries. What
you want to do is already possible with the existing setup...
--
Peter Nixon
http://peternixon.net/
More information about the Freeradius-Users
mailing list