Hmmm...
Actualy it's not about User-Name.
I'm making user authorization with sql module, but there are two
types of authorization I need (ANI and Pre-Paid Card), so each of them I
want to handle with different module, because of different queries
nedded for ANI and Pre-Paid on my system.
Regards, Arunas
-----Original Message-----
From: Pieter Droogendijk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: Re: sql module usage
On Wed, 11 Jun 2003 10:31:25 +0300, Ar wrote:
> Hi, It's about FreeRadius 0.8.1 and rlm_sql module usage and
configuring
> radiusd.conf.
>
> Is it possible to use two sql modules (sql1 and sql2) derived
> from original rlm_sql module?
Yes, like all other modules. They're called instances. You can just copy
the sql.conf file and change it's contents to fit the second instance.
Don't forget to include it in radiusd.conf, and don't forget to change
the instance name, like
sql sql_instance_name { directives }
unlike the default sql.conf.
> Is it possible to use only one of them in authorize section
> depending on some radius Attributes (like User-Name, etc.)
Why on earth would you want to?
What I see now is someone wanting to keep a list of users who use sql1,
and a list of users who use sql2. If that's the case you might as well
use the plain old users file...
Although I think i have the wrong idea :P
>
> Best regards to all,
> Arunas
>
> -
> List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
>
--
Is this really happening?
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html