Different realms for different databases
liran tal
liransgarage at gmail.com
Tue Jan 27 23:44:01 CET 2009
Thanks Ivan,
That works just fine.
On Wed, Jan 28, 2009 at 12:24 AM, <tnt at kalik.net> wrote:
>>To allow authentication of different realms for 2 different databases
>>the setup for the authentication
>>is quite straight forward with the Autz-Type directive as follows:
>>
>>authenticate {
>>....
>> Autz-Type SQL_EXAMPLE2 {
>> sql_example2
>> }
>>....
>>}
>>
>>
>>Although the same trick wouldn't work for the accounting { } section
>>as it complains on the Autz-Type directive:
>>Error: ERROR: Cannot find a configuration entry for module "Autz-Type".
>>Error: radiusd.conf[2089] Unknown module "Autz-Type".
>>Error: radiusd.conf[2058] Failed to parse accounting section.
>>
>>
>>What would be the way to configure accounting for the different realms
>>in their correct databases?
>
> Read dictionary.freeradius.internal when you are looking for server
> attributes. You want Acct-Type. In 2.x you don't need attribute - you
> use unlag to switch.
>
> Ivan Kalik
> Kalik Informatika ISP
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
More information about the Freeradius-Users
mailing list