At 08:49 PM 4/24/2002 +0300, Aleksandr Kuzminsky wrote:
>On Wed, 24 Apr 2002, Chris Parker wrote:
>
> > If SQL returns NOOP, then changing the order won't matter.  The best
> > solution is to change the SQL code so that it returns FAIL when it can't
> > obtain a socket.
> >
> > I'll take a look at doing this in the latest CVS.
>Ok. But if you have not enough time, I can send you patch. I think it may
>be done by something like 1,$s/NOOP/FAIL in

Not all of them should be converted.

>src/modules/rlm_sql/drivers/rlm_mysql/rlm_mysql.c
>Anytime post notification when it will done.

I've update the latest CVS version so that rlm_sql return FAIL when it
cannot allocate a socket rather than NOOP.  If you place sql before
detail in your accounting section you should now get the behaviour you
want.

If any problems are noticed, please post here.

Thanks,
-Chris

--
    \\\|||///  \          StarNet Inc.      \        Chris Parker
    \ ~   ~ /   \       WX *is* Wireless!    \   Director, Engineering
    | @   @ |    \   http://www.starnetwx.net \      (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
                   \ Wholesale Internet Services - http://www.megapop.net



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

Reply via email to