Different realms for different databases

tnt at kalik.net tnt at kalik.net
Tue Jan 27 23:24:54 CET 2009


>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




More information about the Freeradius-Users mailing list