> Hi all,
>
> I have one radius server and I want the server ask several database to
> authorize the users.
>
> The parameter which determine the database to ask could be the
> calledstationid.
>
> Is anybody know how I could do this ?
>
>

Setup two mysql configurations in the sql.conf file.

ie:

sql ONE {
  config options go here
}

sql TWO {
  config options go here
}

Add both sql configurations to the authorize section

ie:

authorize {
 other stuff
 autztype ONE {
        ONE
 }
 autztype TWO {
        TWO
 }
}

Setup the users file

DEFAULT Called-Station-Id == "3333333333", Autz-Type := ONE

DEFAULT Called-Station-Id == "2222222222", Autz-Type := TWO

Hope that helps

Dusty Doris


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

Reply via email to